/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 8b4af0a
 * Options:   --bitfields --packed-struct --output test26093.c
 * Seed:      7447239084055282297
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
union U0 {
   uint16_t  f0;
   const volatile int32_t  f1;
   unsigned f2 : 17;
   volatile int64_t  f3;
   const uint64_t  f4;
};

/* --- GLOBAL VARIABLES --- */
static int32_t g_26 = 0x7289FFF1L;
static int32_t * const g_25[7][8] = {{&g_26,&g_26,(void*)0,&g_26,(void*)0,&g_26,&g_26,&g_26},{(void*)0,&g_26,&g_26,&g_26,(void*)0,(void*)0,&g_26,&g_26},{&g_26,&g_26,&g_26,(void*)0,(void*)0,&g_26,&g_26,&g_26},{(void*)0,&g_26,(void*)0,&g_26,(void*)0,(void*)0,&g_26,&g_26},{&g_26,(void*)0,&g_26,(void*)0,(void*)0,&g_26,(void*)0,&g_26},{&g_26,(void*)0,&g_26,&g_26,&g_26,(void*)0,&g_26,(void*)0},{(void*)0,&g_26,(void*)0,&g_26,(void*)0,&g_26,(void*)0,(void*)0}};
static int32_t g_50 = (-2L);
static int32_t g_56 = 0x40437E10L;
static int32_t * volatile g_55 = &g_56;/* VOLATILE GLOBAL g_55 */
static volatile int32_t g_57 = 1L;/* VOLATILE GLOBAL g_57 */
static const int32_t g_63 = (-3L);
static const int32_t g_65 = 0xDCBC3393L;
static int32_t g_71 = 0x85FAE11BL;
static uint16_t g_111[1] = {0UL};
static uint16_t g_113[2] = {0UL,0UL};
static int8_t g_123 = 8L;
static int64_t g_127 = 0x170005B716F66F74LL;
static uint64_t g_129 = 0x4A8DDDF175EBDF0ELL;
static uint16_t g_150 = 1UL;
static const uint16_t *g_152 = (void*)0;
static uint16_t *g_153 = &g_111[0];
static int8_t g_164 = 0xD8L;
static volatile int16_t g_182 = (-1L);/* VOLATILE GLOBAL g_182 */
static volatile int16_t * volatile g_181[7][3] = {{&g_182,&g_182,&g_182},{&g_182,&g_182,&g_182},{(void*)0,&g_182,(void*)0},{&g_182,&g_182,&g_182},{&g_182,&g_182,&g_182},{(void*)0,&g_182,(void*)0},{&g_182,&g_182,&g_182}};
static volatile int16_t * volatile *g_180 = &g_181[2][0];
static int32_t *g_189 = &g_71;
static volatile int32_t g_212 = 0L;/* VOLATILE GLOBAL g_212 */
static int32_t g_233 = 0x941245A1L;
static volatile union U0 g_245 = {0xE116L};/* VOLATILE GLOBAL g_245 */
static uint32_t g_246 = 0UL;
static uint32_t g_250 = 4294967295UL;
static uint32_t g_261 = 0xE6BA0D8FL;
static uint32_t g_281 = 0UL;
static const int8_t g_293 = 0x74L;
static union U0 g_294[5] = {{0x0EA4L},{0x0EA4L},{0x0EA4L},{0x0EA4L},{0x0EA4L}};
static volatile int8_t g_315 = 0x96L;/* VOLATILE GLOBAL g_315 */
static int16_t **g_334 = (void*)0;
static int32_t ** volatile g_356 = &g_189;/* VOLATILE GLOBAL g_356 */
static union U0 g_364[4] = {{0x52B7L},{0x52B7L},{0x52B7L},{0x52B7L}};
static union U0 g_367 = {0xB3BAL};/* VOLATILE GLOBAL g_367 */
static uint8_t g_389 = 0xE9L;
static uint64_t g_431 = 18446744073709551615UL;
static uint32_t g_434 = 4294967295UL;
static int64_t *g_465 = (void*)0;
static int16_t g_490 = 0x2EFCL;
static int8_t * volatile g_495[3][10][5] = {{{&g_164,(void*)0,&g_123,(void*)0,&g_164},{&g_164,&g_164,(void*)0,(void*)0,&g_164},{&g_164,&g_164,(void*)0,&g_164,(void*)0},{&g_164,&g_164,(void*)0,&g_123,&g_164},{&g_164,&g_123,&g_164,&g_164,(void*)0},{&g_123,&g_123,&g_123,&g_123,&g_123},{&g_164,&g_123,&g_164,(void*)0,&g_123},{&g_123,&g_123,(void*)0,&g_164,(void*)0},{&g_164,&g_164,&g_123,(void*)0,(void*)0},{(void*)0,&g_123,&g_164,&g_123,(void*)0}},{{&g_164,(void*)0,&g_123,&g_164,&g_123},{(void*)0,&g_123,&g_164,&g_123,(void*)0},{&g_123,(void*)0,(void*)0,&g_164,&g_123},{(void*)0,&g_164,&g_123,(void*)0,(void*)0},{(void*)0,&g_164,&g_164,(void*)0,&g_164},{&g_164,(void*)0,&g_123,&g_164,&g_164},{&g_164,&g_123,&g_164,(void*)0,&g_164},{(void*)0,(void*)0,&g_123,(void*)0,(void*)0},{(void*)0,&g_123,&g_164,(void*)0,&g_123},{&g_164,&g_164,(void*)0,&g_123,&g_164}},{{(void*)0,&g_123,&g_123,&g_123,&g_123},{(void*)0,&g_123,&g_123,&g_164,(void*)0},{&g_123,&g_123,&g_164,&g_164,&g_164},{&g_164,&g_123,&g_164,&g_164,&g_164},{&g_123,&g_164,&g_123,&g_164,&g_164},{&g_123,&g_164,&g_164,&g_164,(void*)0},{&g_164,&g_164,&g_164,&g_123,&g_123},{&g_123,(void*)0,&g_123,&g_164,(void*)0},{(void*)0,&g_164,&g_164,&g_123,&g_123},{&g_123,(void*)0,&g_164,(void*)0,&g_164}}};
static int8_t * volatile *g_494 = &g_495[1][2][1];
static int32_t ** const  volatile g_501 = &g_189;/* VOLATILE GLOBAL g_501 */
static volatile uint16_t g_504[8][9][3] = {{{0x4D08L,65535UL,65535UL},{0xE1D1L,0x470AL,4UL},{0x80D4L,0x80ADL,0x80D4L},{1UL,4UL,0x84EAL},{0x4D08L,0x80ADL,1UL},{0xB64DL,0x470AL,0UL},{1UL,65535UL,0x80D4L},{0xB64DL,0x8EEDL,0x8EEDL},{0x4D08L,0x5EF3L,65535UL}},{{1UL,0x470AL,0x8EEDL},{0x80D4L,2UL,0x80D4L},{0xE1D1L,4UL,0UL},{0x4D08L,2UL,1UL},{0x470AL,0x470AL,0x84EAL},{1UL,0x5EF3L,0x80D4L},{0x470AL,0x8EEDL,4UL},{0x4D08L,65535UL,65535UL},{0xE1D1L,0x470AL,4UL}},{{0x80D4L,0x80ADL,0x80D4L},{1UL,4UL,0x84EAL},{0x4D08L,0x80ADL,1UL},{0xB64DL,0x470AL,0UL},{1UL,65535UL,0x80D4L},{0xB64DL,0x8EEDL,0x8EEDL},{0x4D08L,0x5EF3L,65535UL},{1UL,0x470AL,0x8EEDL},{0x80D4L,2UL,0x80D4L}},{{0xE1D1L,4UL,0UL},{0x4D08L,2UL,1UL},{0x470AL,0x470AL,0x84EAL},{1UL,0x5EF3L,0x80D4L},{0x470AL,0x8EEDL,4UL},{0x4D08L,65535UL,65535UL},{0xE1D1L,0x470AL,4UL},{0x80D4L,0x80ADL,0x80D4L},{1UL,4UL,0x84EAL}},{{0x4D08L,0x80ADL,1UL},{0xB64DL,0x470AL,0UL},{1UL,65535UL,0x80D4L},{0xB64DL,0x8EEDL,0x8EEDL},{0x4D08L,0x5EF3L,65535UL},{1UL,0x470AL,0x8EEDL},{0x80D4L,2UL,0x80D4L},{0xE1D1L,4UL,0UL},{0x4D08L,2UL,1UL}},{{0x470AL,0x470AL,0x84EAL},{1UL,0x5EF3L,0x80D4L},{0x470AL,0x8EEDL,4UL},{0x4D08L,65535UL,65535UL},{0xE1D1L,0x470AL,4UL},{0x80D4L,0x80ADL,0x80D4L},{1UL,4UL,0x84EAL},{0x4D08L,0x80ADL,1UL},{0xB64DL,0x470AL,0UL}},{{1UL,65535UL,0x80D4L},{0xB64DL,0x8EEDL,0x8EEDL},{0x4D08L,0x5EF3L,65535UL},{1UL,0x470AL,0x8EEDL},{0x80D4L,2UL,0x80D4L},{0xE1D1L,4UL,0UL},{0x4D08L,2UL,1UL},{0x470AL,0x470AL,0x84EAL},{1UL,0x5EF3L,0x80D4L}},{{0x470AL,0x8EEDL,4UL},{0x4D08L,65535UL,65535UL},{0xE1D1L,0x470AL,4UL},{0x80D4L,0x80ADL,0x80D4L},{1UL,4UL,0x84EAL},{0x4D08L,0x80ADL,1UL},{0xB64DL,0x470AL,0UL},{1UL,65535UL,0x80D4L},{0xB64DL,0x8EEDL,0x8EEDL}}};
static volatile union U0 g_507 = {0xD92BL};/* VOLATILE GLOBAL g_507 */
static const volatile union U0 g_508 = {0x3B66L};/* VOLATILE GLOBAL g_508 */
static int32_t ** volatile g_529 = (void*)0;/* VOLATILE GLOBAL g_529 */
static volatile int16_t g_547[4][3] = {{1L,1L,1L},{1L,1L,1L},{1L,1L,1L},{1L,1L,1L}};
static int32_t ** volatile g_548 = &g_189;/* VOLATILE GLOBAL g_548 */
static int32_t **g_561 = &g_189;
static int32_t *g_564 = &g_71;
static union U0 *g_624[3] = {&g_294[4],&g_294[4],&g_294[4]};
static union U0 ** volatile g_623 = &g_624[0];/* VOLATILE GLOBAL g_623 */
static int16_t ***g_671 = &g_334;
static const uint32_t g_753 = 0x765B65EDL;
static union U0 *g_848 = (void*)0;
static const uint16_t **g_887 = (void*)0;
static int16_t *** volatile *g_889 = &g_671;
static int16_t *** volatile * volatile *g_888 = &g_889;
static union U0 g_895 = {0xD077L};/* VOLATILE GLOBAL g_895 */
static union U0 g_925 = {0x177AL};/* VOLATILE GLOBAL g_925 */
static volatile uint8_t g_968 = 255UL;/* VOLATILE GLOBAL g_968 */
static volatile uint8_t *g_967 = &g_968;
static volatile uint8_t ** const g_966[10][10][2] = {{{(void*)0,(void*)0},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{(void*)0,(void*)0},{(void*)0,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967}},{{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0}},{{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{(void*)0,(void*)0},{(void*)0,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,(void*)0}},{{(void*)0,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,&g_967}},{{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{(void*)0,(void*)0},{(void*)0,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,(void*)0},{(void*)0,(void*)0}},{{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,&g_967},{&g_967,&g_967}},{{&g_967,&g_967},{&g_967,&g_967},{(void*)0,(void*)0},{(void*)0,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,&g_967},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,(void*)0}},{{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967}},{{(void*)0,&g_967},{&g_967,(void*)0},{&g_967,&g_967},{(void*)0,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,(void*)0},{&g_967,&g_967}},{{&g_967,&g_967},{(void*)0,&g_967},{&g_967,&g_967},{&g_967,(void*)0},{&g_967,(void*)0},{(void*)0,(void*)0},{&g_967,(void*)0},{&g_967,(void*)0},{&g_967,&g_967},{(void*)0,&g_967}}};
static int32_t ** volatile g_1027 = &g_189;/* VOLATILE GLOBAL g_1027 */
static volatile union U0 g_1085 = {0x459EL};/* VOLATILE GLOBAL g_1085 */
static uint64_t *g_1099 = (void*)0;
static uint64_t *g_1101 = (void*)0;
static int64_t g_1130 = 0x42ADB106EEBD3DC1LL;
static volatile uint32_t * volatile *g_1199 = (void*)0;
static volatile uint32_t * volatile **g_1198 = &g_1199;
static volatile uint32_t * volatile *** volatile g_1200 = &g_1198;/* VOLATILE GLOBAL g_1200 */
static int16_t *g_1215 = &g_490;
static const uint8_t g_1229 = 0x5EL;
static volatile uint8_t g_1238 = 255UL;/* VOLATILE GLOBAL g_1238 */
static union U0 g_1299 = {1UL};/* VOLATILE GLOBAL g_1299 */
static int32_t ** volatile g_1355 = &g_189;/* VOLATILE GLOBAL g_1355 */
static uint8_t *g_1410 = &g_389;
static uint8_t **g_1409 = &g_1410;
static int16_t ****g_1434 = (void*)0;
static union U0 g_1451 = {0x5DF2L};/* VOLATILE GLOBAL g_1451 */
static uint32_t g_1501 = 1UL;
static int8_t * volatile * volatile *g_1612 = &g_494;
static int8_t * volatile * volatile ** volatile g_1611 = &g_1612;/* VOLATILE GLOBAL g_1611 */
static uint32_t ***g_1616 = (void*)0;
static uint32_t ****g_1615[5] = {&g_1616,&g_1616,&g_1616,&g_1616,&g_1616};
static volatile int64_t g_1676 = 0x55AE24F37D36365DLL;/* VOLATILE GLOBAL g_1676 */
static volatile int64_t *g_1675[6] = {&g_1676,&g_1676,&g_1676,&g_1676,&g_1676,&g_1676};
static volatile int64_t * const *g_1674[8] = {&g_1675[2],&g_1675[2],&g_1675[2],&g_1675[2],&g_1675[2],&g_1675[2],&g_1675[2],&g_1675[2]};
static volatile int64_t * const **g_1673 = &g_1674[3];
static int8_t g_1684 = (-7L);
static uint16_t *g_1696[4] = {&g_1451.f0,&g_1451.f0,&g_1451.f0,&g_1451.f0};
static uint16_t **g_1695 = &g_1696[2];
static uint16_t **g_1762 = &g_1696[2];
static int32_t g_1774 = 0x4C49BE3BL;
static volatile union U0 g_1788 = {0x28BAL};/* VOLATILE GLOBAL g_1788 */
static volatile int32_t g_1810 = 0x76BE345FL;/* VOLATILE GLOBAL g_1810 */
static const volatile union U0 g_1817 = {65535UL};/* VOLATILE GLOBAL g_1817 */
static uint32_t **g_1915 = (void*)0;
static int16_t g_1936 = (-1L);
static int32_t *g_1938 = &g_56;
static int16_t g_1985[1][7][6] = {{{0x8D75L,0x4FCCL,(-1L),0L,0xE4ABL,0L},{5L,0L,5L,(-1L),(-5L),0x4FCCL},{0L,0xC699L,0x62E5L,0x4B64L,0x657EL,(-5L)},{0x71FAL,0L,(-1L),0x4B64L,0x4B64L,(-1L)},{0L,0L,0L,(-1L),0x62E5L,5L},{5L,0xE4ABL,0L,0L,0xC699L,0L},{0x8D75L,5L,0L,0x71FAL,0L,5L}}};
static volatile union U0 g_1995 = {1UL};/* VOLATILE GLOBAL g_1995 */
static volatile union U0 g_1999 = {65532UL};/* VOLATILE GLOBAL g_1999 */
static uint16_t g_2014 = 0xAC9BL;
static int8_t g_2043 = 0x68L;
static int32_t ** volatile g_2046 = &g_189;/* VOLATILE GLOBAL g_2046 */
static volatile uint32_t ** volatile g_2047[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static union U0 g_2080 = {8UL};/* VOLATILE GLOBAL g_2080 */
static volatile uint32_t g_2092 = 0UL;/* VOLATILE GLOBAL g_2092 */
static const uint64_t g_2126 = 18446744073709551606UL;
static const uint64_t g_2128 = 0xC972817623B4B2C3LL;
static uint32_t *g_2205 = &g_246;
static uint32_t **g_2204[9] = {&g_2205,&g_2205,&g_2205,&g_2205,&g_2205,&g_2205,&g_2205,&g_2205,&g_2205};
static union U0 g_2209 = {0x1441L};/* VOLATILE GLOBAL g_2209 */
static uint32_t * const g_2218 = &g_1501;
static uint32_t * const *g_2217[8] = {&g_2218,&g_2218,&g_2218,&g_2218,&g_2218,&g_2218,&g_2218,&g_2218};
static uint32_t * const **g_2216 = &g_2217[3];
static uint32_t * const ***g_2215 = &g_2216;
static uint32_t ***g_2224 = &g_2204[1];
static uint32_t **** volatile g_2223 = &g_2224;/* VOLATILE GLOBAL g_2223 */
static const int32_t *g_2227 = (void*)0;
static int8_t *g_2229[5][2][2] = {{{&g_1684,&g_1684},{&g_2043,&g_2043}},{{&g_1684,&g_2043},{&g_2043,&g_1684}},{{&g_1684,&g_1684},{&g_1684,&g_1684}},{{&g_2043,&g_2043},{&g_1684,&g_2043}},{{&g_2043,&g_1684},{&g_1684,&g_1684}}};
static int8_t **g_2228 = &g_2229[2][0][0];
static int32_t ***g_2251 = &g_561;
static int32_t **** volatile g_2250 = &g_2251;/* VOLATILE GLOBAL g_2250 */
static const uint8_t *g_2276 = &g_389;
static const uint8_t **g_2275[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static const uint8_t ***g_2274 = &g_2275[4];
static uint64_t **g_2313 = &g_1101;
static int32_t g_2385 = (-3L);
static uint8_t g_2388 = 255UL;
static int64_t g_2414 = 0L;
static union U0 g_2424 = {9UL};/* VOLATILE GLOBAL g_2424 */
static union U0 g_2425 = {0x4B56L};/* VOLATILE GLOBAL g_2425 */
static union U0 g_2426 = {0UL};/* VOLATILE GLOBAL g_2426 */
static union U0 g_2427 = {0x4AB4L};/* VOLATILE GLOBAL g_2427 */
static const union U0 g_2431 = {0x8362L};/* VOLATILE GLOBAL g_2431 */
static uint16_t * volatile * volatile *g_2489 = (void*)0;
static uint16_t * volatile * volatile * const  volatile * volatile g_2488 = &g_2489;/* VOLATILE GLOBAL g_2488 */


/* --- FORWARD DECLARATIONS --- */
static int32_t  func_1(void);
static int32_t * func_2(const int32_t * p_3, int16_t  p_4, int64_t  p_5, int32_t  p_6, int32_t  p_7);
static const int32_t * func_8(int32_t  p_9, uint64_t  p_10, uint8_t  p_11, int32_t * p_12, uint32_t  p_13);
static int32_t * func_14(uint8_t  p_15, uint64_t  p_16, uint8_t  p_17, int32_t * p_18, int32_t * p_19);
static int32_t  func_22(int32_t * const  p_23, int32_t * p_24);
static uint32_t  func_27(uint32_t  p_28, int32_t  p_29, int64_t  p_30, int32_t  p_31);
static int64_t  func_33(int32_t * p_34, uint32_t  p_35, uint8_t  p_36, uint16_t  p_37, int16_t  p_38);
static int8_t  func_41(int32_t * p_42, uint32_t  p_43, int32_t * p_44);
static int32_t * func_45(int32_t  p_46, int32_t * p_47, int32_t * p_48);
static int32_t  func_58(uint32_t  p_59, uint16_t  p_60);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_25 g_26 g_50 g_293 g_356 g_56 g_212 g_261 g_153 g_111 g_55 g_364 g_367 g_113 g_189 g_364.f0 g_250 g_63 g_150 g_367.f0 g_123 g_129 g_281 g_434 g_164 g_431 g_494 g_501 g_504 g_507 g_508 g_389 g_127 g_547 g_548 g_561 g_623 g_246 g_490 g_564 g_71 g_233 g_182 g_315 g_65 g_294.f0 g_753 g_624 g_848 g_888 g_895 g_925 g_966 g_968 g_507.f0 g_895.f0 g_1027 g_1085 g_889 g_671 g_1130 g_1099 g_57 g_294 g_967 g_1198 g_1200 g_1409 g_1410 g_1101 g_1451 g_1355 g_1501 g_1695 g_1696 g_1229 g_1774 g_1788 g_1762 g_1451.f0 g_1215 g_1810 g_1817 g_1936 g_1938 g_1985 g_1995 g_1999 g_2014 g_2043 g_2046 g_2047 g_334 g_2080 g_925.f0 g_2092 g_1673 g_1674 g_1675 g_1676 g_2215 g_2223 g_2228 g_2250 g_2218 g_2274 g_2216 g_2217 g_2276 g_495 g_2313 g_2229 g_2128 g_2205 g_2080.f0 g_2414 g_1684 g_2488 g_1299.f0
 * writes: g_50 g_189 g_261 g_56 g_26 g_123 g_389 g_127 g_150 g_367.f0 g_431 g_465 g_164 g_504 g_250 g_490 g_111 g_561 g_564 g_624 g_294.f0 g_671 g_71 g_129 g_246 g_113 g_281 g_434 g_887 g_1099 g_1101 g_233 g_1130 g_1198 g_212 g_1434 g_1451.f0 g_1695 g_1762 g_1774 g_1915 g_1409 g_2043 g_1985 g_2047 g_925.f0 g_1675 g_1501 g_1616 g_2204 g_2215 g_2224 g_2227 g_2251 g_1938 g_2313 g_2229 g_2385 g_2388 g_1684 g_1299.f0
 */
static int32_t  func_1(void)
{ /* block id: 0 */
    uint32_t l_32 = 0xB6A7F4EAL;
    int32_t *l_49 = &g_50;
    int32_t **l_352 = &g_189;
    int8_t *l_1024 = &g_164;
    int32_t l_1025 = 0x63FAACCEL;
    uint64_t l_1773 = 0x99B61FE63D2323DELL;
    int64_t l_2420 = 0x740C2729B185F9EBLL;
    int16_t **l_2434 = &g_1215;
    uint32_t l_2435 = 0UL;
    int16_t **l_2436 = (void*)0;
    const int64_t l_2465 = 0L;
    uint16_t *l_2466[3];
    uint8_t l_2468 = 3UL;
    uint64_t **l_2481 = &g_1099;
    int i;
    for (i = 0; i < 3; i++)
        l_2466[i] = &g_113[1];
    (*l_352) = func_2(func_8((((*l_352) = func_14((safe_div_func_uint32_t_u_u((0x6B8DL ^ 1UL), (l_1773 |= func_22(g_25[6][6], (func_27(l_32, l_32, func_33(&g_26, (safe_mul_func_int8_t_s_s((((*l_1024) = func_41(((*l_352) = func_45((((*l_49) &= (g_26 >= (l_32 ^ (2UL > 6UL)))) != 0L), &g_26, &g_26)), g_293, &g_56)) == l_1025), 0xC3L)), g_895.f0, g_293, l_1025), g_65) , (void*)0))))), g_1229, g_1774, &g_1774, &g_1774)) != (void*)0), g_2128, l_32, g_2205, l_1025), l_1025, g_1229, l_2420, l_2420);
    (*l_352) = ((l_2434 != (l_2435 , l_2436)) , (*l_352));
    if ((((*l_49) ^ (*l_49)) && (safe_mul_func_int32_t_s_s((((safe_add_func_uint32_t_u_u((((((safe_lshift_func_int16_t_s_u(8L, ((*l_49) = ((**g_1695) = ((safe_add_func_uint32_t_u_u((safe_rshift_func_uint8_t_u_s((safe_sub_func_int8_t_s_s(0x5AL, ((((((*g_1101) = (safe_mul_func_uint64_t_u_u((2UL <= (*l_49)), (safe_sub_func_int16_t_s_s((safe_div_func_uint16_t_u_u((safe_add_func_uint64_t_u_u((**g_2313), (safe_mod_func_uint8_t_u_u((*g_967), ((*l_1024) = (((((((safe_rshift_func_int16_t_s_s((safe_div_func_int64_t_s_s((safe_lshift_func_int64_t_s_s((**l_352), (**l_352))), (**l_352))), (**l_352))) & 0x38CA8310L) > 0x545CDED572210794LL) | (**g_2313)) | (*l_49)) , (**g_1409)) & (**g_1409))))))), (*l_49))), l_2465))))) != 0UL) > (*l_49)) >= 5L) | (**l_352)))), (*l_49))), 4294967293UL)) & (-7L)))))) || 0x314465E9L) ^ (**l_352)) , (*g_1027)) == (*l_352)), (**l_352))) , (*l_352)) == (void*)0), 0x30F85744L))))
    { /* block id: 1148 */
        int16_t **l_2467 = (void*)0;
        (*g_189) |= ((void*)0 == l_2467);
        return l_2468;
    }
    else
    { /* block id: 1151 */
        int32_t l_2473 = 0L;
lbl_2498:
        for (g_1684 = 9; (g_1684 != 9); g_1684++)
        { /* block id: 1154 */
            int64_t l_2474 = 0x00FCA3E5AE96CEC3LL;
            l_2474 = (safe_sub_func_uint16_t_u_u(0x0038L, l_2473));
        }
        for (g_127 = 17; (g_127 != (-10)); g_127 = safe_sub_func_uint64_t_u_u(g_127, 9))
        { /* block id: 1159 */
            uint64_t **l_2482 = &g_1101;
            int32_t l_2483 = (-9L);
            (*l_49) |= (((**g_2313) | ((safe_add_func_int64_t_s_s((safe_add_func_int16_t_s_s(((**l_2434) = (l_2481 == l_2482)), (((l_2473 > (((****g_2215) &= (l_2483 && ((((**g_1409)++) >= (safe_div_func_uint64_t_u_u((g_2488 != &g_2489), (((**l_352) = (safe_sub_func_uint16_t_u_u(((safe_lshift_func_int32_t_s_s(8L, 11)) <= (1L < l_2483)), l_2473))) && l_2483)))) && (*g_2276)))) <= 4UL)) , l_2483) ^ 4L))), 0x36E7E63EC22B56A8LL)) == (**g_1695))) , 3L);
            for (g_389 = 0; (g_389 == 18); g_389 = safe_add_func_int64_t_s_s(g_389, 7))
            { /* block id: 1167 */
                for (g_1299.f0 = 0; (g_1299.f0 <= 2); g_1299.f0 += 1)
                { /* block id: 1170 */
                    if (g_367.f0)
                        goto lbl_2498;
                }
                (*l_49) = (-1L);
            }
        }
    }
    return (**l_352);
}


/* ------------------------------------------ */
/* 
 * reads : g_55 g_56 g_153 g_111 g_1215 g_490 g_848
 * writes: g_624
 */
static int32_t * func_2(const int32_t * p_3, int16_t  p_4, int64_t  p_5, int32_t  p_6, int32_t  p_7)
{ /* block id: 1137 */
    union U0 *l_2423[2][5] = {{(void*)0,&g_2427,&g_2427,(void*)0,&g_2425},{(void*)0,&g_2427,&g_2427,(void*)0,&g_2425}};
    union U0 **l_2428[9] = {&g_848,&g_848,&g_848,&g_848,&g_848,&g_848,&g_848,&g_848,&g_848};
    const union U0 *l_2430 = &g_2431;
    const union U0 **l_2429 = &l_2430;
    const int32_t l_2432 = 0L;
    int32_t *l_2433 = &g_1774;
    int i, j;
    p_7 = (0x7DB8553A23FCF359LL < (0x4233DAA1L == ((*g_55) == ((*g_153) != (((safe_rshift_func_int16_t_s_u((*g_1215), ((g_624[0] = l_2423[0][0]) != ((*l_2429) = g_848)))) | l_2432) <= p_6)))));
    return l_2433;
}


/* ------------------------------------------ */
/* 
 * reads : g_1101 g_431 g_2080.f0 g_1215 g_2414 g_2218 g_246 g_1355 g_189
 * writes: g_490 g_1501 g_246
 */
static const int32_t * func_8(int32_t  p_9, uint64_t  p_10, uint8_t  p_11, int32_t * p_12, uint32_t  p_13)
{ /* block id: 1128 */
    int16_t l_2404 = 1L;
    int32_t l_2405 = 1L;
    int16_t **** const *l_2406 = (void*)0;
    int32_t l_2413 = 0xC7358A45L;
    int32_t *l_2415[9][9][3] = {{{&g_1774,(void*)0,&g_50},{&g_71,(void*)0,&l_2405},{&l_2413,&g_71,(void*)0},{&g_50,&g_26,(void*)0},{&l_2413,&l_2413,&g_2385},{(void*)0,(void*)0,&l_2413},{&g_56,&l_2405,&g_2385},{&g_26,&g_26,&l_2413},{&g_56,&g_56,&g_2385}},{{&g_71,(void*)0,&l_2413},{&g_71,&l_2413,&g_2385},{&l_2405,(void*)0,(void*)0},{(void*)0,&g_2385,(void*)0},{&g_50,(void*)0,&g_1774},{&g_1774,&g_50,&g_2385},{&g_1774,&l_2405,(void*)0},{&g_50,&g_1774,(void*)0},{(void*)0,&g_56,&g_56}},{{&l_2405,&g_1774,&g_26},{&g_71,&g_71,&g_26},{&g_71,&g_50,&g_26},{&g_56,&g_1774,&g_26},{&g_26,&g_50,(void*)0},{&g_56,&g_71,&g_50},{(void*)0,&g_1774,&g_1774},{&l_2413,&g_56,&g_71},{&g_50,&g_1774,(void*)0}},{{&g_2385,&l_2405,&l_2405},{&g_50,&g_50,&l_2405},{&l_2405,(void*)0,(void*)0},{&g_1774,&g_2385,&g_71},{&g_1774,(void*)0,&g_1774},{&g_1774,&l_2413,&g_50},{&l_2405,(void*)0,(void*)0},{(void*)0,&g_56,&g_26},{&g_1774,&g_26,&g_26}},{{(void*)0,&l_2405,&g_26},{&l_2405,(void*)0,&g_26},{&g_1774,&l_2413,&g_56},{&g_1774,&g_26,(void*)0},{&g_1774,&g_50,(void*)0},{&l_2405,(void*)0,&g_2385},{&g_50,(void*)0,&g_1774},{&g_2385,&g_50,(void*)0},{&g_50,&g_26,(void*)0}},{{&l_2413,&l_2413,&g_2385},{(void*)0,(void*)0,&l_2413},{&g_56,&l_2405,&g_2385},{&g_26,&g_26,&l_2413},{&g_56,&g_56,&g_2385},{&g_71,(void*)0,&l_2413},{&g_71,&l_2413,&g_2385},{&l_2405,(void*)0,(void*)0},{(void*)0,&g_2385,(void*)0}},{{&g_50,(void*)0,&g_1774},{&g_1774,&g_50,&g_2385},{&g_1774,&l_2405,(void*)0},{&g_50,&g_1774,(void*)0},{(void*)0,&g_56,&g_56},{&l_2405,&g_1774,&g_26},{&g_71,&g_71,&g_26},{&g_71,&g_50,&g_26},{&g_56,&g_1774,&g_26}},{{&g_26,&g_50,(void*)0},{&g_56,&g_71,&g_50},{(void*)0,&g_1774,&g_1774},{&l_2413,(void*)0,&g_2385},{&l_2405,&g_26,&l_2405},{&g_56,&g_1774,&g_1774},{(void*)0,&g_1774,&g_1774},{&g_1774,&g_71,&l_2405},{(void*)0,&g_71,&g_2385}},{{&g_56,(void*)0,&g_56},{&l_2413,&g_26,&g_1774},{&g_1774,(void*)0,(void*)0},{(void*)0,(void*)0,&g_71},{&g_26,&g_26,&g_50},{(void*)0,&g_1774,&g_50},{&g_1774,&g_1774,&g_50},{&l_2413,&g_2385,(void*)0},{&g_56,&g_50,&l_2413}}};
    int64_t l_2416 = 0x6170D60FB644CBA5LL;
    uint32_t l_2417[6] = {1UL,18446744073709551615UL,1UL,1UL,18446744073709551615UL,1UL};
    int i, j, k;
    (*p_12) ^= (safe_add_func_uint16_t_u_u(((0xDCL || ((safe_rshift_func_int32_t_s_u((l_2413 = (((*g_2218) = (safe_mul_func_uint64_t_u_u(((l_2405 = l_2404) >= (*g_1101)), ((((void*)0 != l_2406) < (safe_mod_func_int16_t_s_s(((~((*g_1215) = (4L & (((safe_rshift_func_int8_t_s_u(((g_2080.f0 , (!((l_2413 && (0xE86540B4L <= 0x7854B195L)) || 0xE3L))) , l_2404), 6)) >= 1L) == 0xD7F2F9AD659D5D04LL)))) & l_2413), g_2414))) < 0x7A35L)))) | 3UL)), l_2404)) , l_2404)) ^ l_2404), 0x2C53L));
    l_2417[2]--;
    (*p_12) = 0xA0E34CA7L;
    return (*g_1355);
}


/* ------------------------------------------ */
/* 
 * reads : g_1774 g_153 g_111 g_1788 g_548 g_1355 g_189 g_1762 g_1696 g_1451.f0 g_1409 g_1410 g_389 g_71 g_1215 g_564 g_50 g_1810 g_1027 g_26 g_1817 g_1695 g_55 g_56 g_1101 g_431 g_490 g_501 g_1099 g_129 g_356 g_888 g_889 g_1936 g_1938 g_623 g_624 g_1985 g_233 g_1995 g_1999 g_967 g_968 g_2014 g_2043 g_2046 g_2047 g_334 g_261 g_2080 g_925.f0 g_2092 g_250 g_1673 g_1674 g_1675 g_1676 g_123 g_504 g_2215 g_2223 g_2228 g_2250 g_2218 g_1501 g_2274 g_2216 g_2217 g_2276 g_671 g_494 g_495 g_2313 g_2229 g_434
 * writes: g_111 g_189 g_564 g_389 g_490 g_434 g_1774 g_1130 g_123 g_129 g_71 g_50 g_1915 g_250 g_1434 g_56 g_127 g_233 g_26 g_1409 g_2043 g_1985 g_2047 g_261 g_671 g_925.f0 g_1675 g_1451.f0 g_431 g_1501 g_1616 g_2204 g_624 g_2215 g_2224 g_2227 g_2251 g_1938 g_2313 g_2229 g_2385 g_2388
 */
static int32_t * func_14(uint8_t  p_15, uint64_t  p_16, uint8_t  p_17, int32_t * p_18, int32_t * p_19)
{ /* block id: 816 */
    int32_t l_1778 = 1L;
    uint8_t l_1779 = 0UL;
    int32_t *l_1790 = &g_71;
    int32_t **l_1791 = &g_564;
    int16_t *l_1821 = (void*)0;
    int32_t l_1837 = 4L;
    int32_t l_1841 = (-1L);
    int8_t * const **l_1976 = (void*)0;
    int32_t l_2013 = (-5L);
    int32_t l_2020[1][8][5] = {{{0x36C41C9AL,0xA3FA39B8L,0x36C41C9AL,0x36C41C9AL,0xA3FA39B8L},{0x8634C450L,(-1L),(-1L),0x8634C450L,(-1L)},{0xA3FA39B8L,0xA3FA39B8L,(-5L),0xA3FA39B8L,0xA3FA39B8L},{(-1L),0x8634C450L,(-1L),(-1L),0x8634C450L},{0xA3FA39B8L,0x36C41C9AL,0x36C41C9AL,0xA3FA39B8L,0x36C41C9AL},{0x8634C450L,0x8634C450L,1L,0x8634C450L,0x8634C450L},{0x36C41C9AL,0xA3FA39B8L,0x36C41C9AL,0x36C41C9AL,0xA3FA39B8L},{0x8634C450L,(-1L),(-1L),0x8634C450L,(-1L)}}};
    int32_t * const l_2045 = &g_50;
    uint32_t **** const l_2184 = &g_1616;
    uint32_t ***l_2222 = &g_2204[4];
    int8_t **l_2232 = &g_2229[2][0][0];
    const union U0 ***l_2350 = (void*)0;
    const int32_t l_2368[7][6][6] = {{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}},{{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L},{0xA516F9BBL,0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL},{0xA516F9BBL,0xEA7F8506L,0xEA7F8506L,0xA516F9BBL,0xA516F9BBL,0xEA7F8506L}}};
    int i, j, k;
    for (p_17 = 0; (p_17 <= 3); p_17 += 1)
    { /* block id: 819 */
        int32_t ***l_1775[9];
        int i;
        for (i = 0; i < 9; i++)
            l_1775[i] = &g_561;
        (*g_548) = (((p_15 < ((l_1775[5] != &g_1027) != (*p_18))) >= ((safe_sub_func_uint16_t_u_u((l_1778 , l_1779), l_1778)) , (safe_rshift_func_uint16_t_u_u((--(*g_153)), (((safe_mod_func_uint8_t_u_u(((((safe_div_func_int32_t_s_s((g_1788 , (*p_19)), (-2L))) != p_16) > 0x2E97A420F8DB7A6FLL) , 1UL), p_17)) | p_16) == 0L))))) , p_19);
        return (*g_1355);
    }
lbl_1867:
    (*l_1791) = func_45((*p_18), p_19, func_45((+(l_1779 , (**g_1762))), func_45(l_1778, l_1790, ((*l_1791) = l_1790)), p_19));
    if ((+(2L > (safe_rshift_func_uint32_t_u_u(p_15, ((safe_mul_func_uint8_t_u_u(((safe_mod_func_uint8_t_u_u(((**g_1409) ^= 0xBBL), (safe_div_func_int32_t_s_s(((p_16 > (((~65535UL) , (((safe_mul_func_uint16_t_u_u((((*l_1790) && (safe_rshift_func_int8_t_s_u((safe_mod_func_uint16_t_u_u(((safe_mul_func_uint32_t_u_u(4294967295UL, ((((*g_1215) = (*l_1790)) >= ((**l_1791) <= 0xF5L)) < 0x30L))) && p_16), (*l_1790))), 3))) == (**l_1791)), p_17)) <= (*l_1790)) ^ (**l_1791))) , (**l_1791))) > 0UL), 1UL)))) , (*g_1410)), (**l_1791))) >= g_1810))))))
    { /* block id: 828 */
        uint32_t l_1811 = 6UL;
        int8_t *l_1825 = (void*)0;
        int32_t l_1831[9] = {0x1384625FL,0x1384625FL,(-1L),0x1384625FL,0x1384625FL,(-1L),0x1384625FL,0x1384625FL,(-1L)};
        int32_t l_1833 = 7L;
        int8_t l_1838 = (-2L);
        uint64_t *l_1892 = (void*)0;
        int8_t ** const *l_1906 = (void*)0;
        uint32_t l_1950 = 7UL;
        int16_t **l_2068 = (void*)0;
        int i;
        if ((l_1811 && ((*g_1410) |= (l_1811 , 1UL))))
        { /* block id: 830 */
            int16_t *l_1820 = &g_490;
            int32_t l_1829 = 0x3BDA0444L;
            int32_t l_1835 = 0x1791C19DL;
            int32_t l_1836 = 0x366DA809L;
            uint16_t l_1842 = 0xFCABL;
            uint32_t l_1848 = 0x7877EA24L;
            uint64_t *l_1890 = (void*)0;
            int32_t **l_1901[10][7][3] = {{{&g_189,(void*)0,&g_189},{&g_189,&g_564,(void*)0},{&g_189,&l_1790,&g_189},{&g_564,&g_189,&g_564},{&g_189,(void*)0,&g_564},{&g_564,&l_1790,&g_564},{&g_564,&l_1790,&l_1790}},{{(void*)0,(void*)0,&l_1790},{&g_564,&g_189,&l_1790},{(void*)0,&l_1790,&g_189},{(void*)0,&l_1790,&g_564},{(void*)0,&l_1790,&l_1790},{&l_1790,&g_189,&g_564},{&g_564,&g_564,&g_564}},{{(void*)0,&g_564,&g_189},{&g_564,&l_1790,&g_189},{&g_564,&g_564,(void*)0},{(void*)0,&l_1790,(void*)0},{&g_564,&g_564,&g_564},{&l_1790,(void*)0,&g_564},{(void*)0,(void*)0,&g_189}},{{(void*)0,(void*)0,&g_564},{&l_1790,&g_564,&g_564},{&l_1790,&l_1790,&g_189},{&g_189,&g_564,&g_189},{&l_1790,&l_1790,&g_189},{&g_564,&g_564,&g_189},{(void*)0,&g_564,&g_564}},{{&g_189,&g_189,&g_564},{&g_189,&l_1790,&g_189},{&l_1790,&l_1790,&g_564},{&g_189,&g_564,&g_564},{&g_189,&l_1790,(void*)0},{(void*)0,&g_189,(void*)0},{&g_564,&l_1790,&g_189}},{{&l_1790,&l_1790,&g_189},{&g_189,&g_189,&g_564},{&l_1790,&l_1790,&g_564},{&l_1790,&g_564,&l_1790},{(void*)0,&l_1790,&g_564},{(void*)0,&l_1790,&l_1790},{&l_1790,&g_189,&g_564}},{{&g_564,&g_564,&g_564},{(void*)0,&g_564,&g_189},{&g_564,&l_1790,&g_189},{&g_564,&g_564,(void*)0},{(void*)0,&l_1790,(void*)0},{&g_564,&g_564,&g_564},{&l_1790,(void*)0,&g_564}},{{(void*)0,(void*)0,&g_189},{(void*)0,(void*)0,&g_564},{&l_1790,&g_564,&g_564},{&l_1790,&l_1790,&g_189},{&g_189,&g_564,&g_189},{&l_1790,&l_1790,&g_189},{&g_564,&g_564,&g_189}},{{(void*)0,&g_564,&g_564},{&g_189,&g_189,&g_564},{&g_189,&l_1790,&g_189},{&l_1790,&l_1790,&g_564},{&g_189,&g_564,&g_564},{&g_189,&l_1790,(void*)0},{(void*)0,&g_189,(void*)0}},{{&g_564,&l_1790,&g_189},{&l_1790,&l_1790,&g_189},{&g_189,&g_189,&g_564},{&l_1790,&l_1790,&g_564},{&l_1790,&g_564,&l_1790},{(void*)0,&l_1790,&g_564},{(void*)0,&l_1790,&l_1790}}};
            int32_t **l_1902[6][9][4] = {{{(void*)0,&l_1790,&g_564,&l_1790},{(void*)0,&g_564,&g_564,(void*)0},{&g_564,(void*)0,(void*)0,&g_564},{&l_1790,&g_564,&g_189,&g_564},{&g_189,&g_189,&g_189,&g_564},{&g_189,&g_564,(void*)0,&g_564},{(void*)0,&l_1790,&l_1790,&g_189},{&g_564,&l_1790,&g_189,&g_564},{&g_189,&g_564,&l_1790,(void*)0}},{{&g_564,&g_564,&l_1790,(void*)0},{&g_564,(void*)0,&g_189,&g_564},{&g_564,&g_189,(void*)0,&l_1790},{(void*)0,&l_1790,&l_1790,&g_189},{&g_189,&g_189,(void*)0,&l_1790},{&g_189,&g_189,&g_189,&g_564},{&g_564,&g_564,&g_564,(void*)0},{&g_189,&g_189,&g_564,&g_564},{&l_1790,&g_564,&g_564,&l_1790}},{{&g_189,&g_189,&g_564,&g_189},{&g_564,&l_1790,&g_189,&g_564},{&g_189,&g_564,(void*)0,&g_564},{&g_189,&g_564,&l_1790,&g_564},{(void*)0,&g_564,(void*)0,&g_564},{&g_564,&l_1790,&g_189,&g_564},{&g_564,&g_189,&l_1790,&g_564},{&g_564,&g_564,&l_1790,&g_564},{&g_189,&g_564,&g_189,&g_189}},{{&g_564,&g_564,&l_1790,&g_564},{(void*)0,&g_189,(void*)0,&l_1790},{&g_189,&l_1790,&g_189,(void*)0},{&g_189,&l_1790,&g_189,&l_1790},{&l_1790,&g_189,&g_189,&g_564},{&g_189,&g_564,&l_1790,&g_189},{&g_189,&g_564,(void*)0,&g_564},{&l_1790,&g_564,&g_564,&g_564},{&g_564,&g_189,&l_1790,&g_564}},{{&g_564,&l_1790,&g_189,&g_564},{&l_1790,&g_564,(void*)0,&g_564},{(void*)0,&g_564,&g_189,&g_564},{(void*)0,&g_564,(void*)0,&g_564},{(void*)0,&l_1790,&g_189,&g_189},{(void*)0,&g_189,&g_189,&l_1790},{&g_564,&g_564,&g_189,&g_564},{&g_564,&g_189,&g_189,(void*)0},{(void*)0,&g_564,&g_189,&g_564}},{{(void*)0,&g_189,(void*)0,&l_1790},{(void*)0,&g_189,&g_189,&g_189},{(void*)0,&l_1790,(void*)0,&l_1790},{&l_1790,&g_189,&g_189,&g_564},{&g_564,(void*)0,&l_1790,(void*)0},{&g_564,&l_1790,(void*)0,(void*)0},{&g_564,&g_189,&g_564,&g_189},{&g_564,&l_1790,&l_1790,&g_564},{&g_564,&g_564,&l_1790,&g_189}}};
            uint32_t *****l_1960[2][3][6] = {{{&g_1615[1],&g_1615[4],&g_1615[4],&g_1615[1],&g_1615[1],&g_1615[1]},{&g_1615[1],&g_1615[1],&g_1615[1],&g_1615[4],&g_1615[4],&g_1615[1]},{&g_1615[1],&g_1615[1],&g_1615[4],&g_1615[0],&g_1615[4],&g_1615[1]}},{{&g_1615[4],&g_1615[1],&g_1615[0],&g_1615[0],&g_1615[1],&g_1615[4]},{&g_1615[1],&g_1615[4],&g_1615[0],&g_1615[4],&g_1615[1],&g_1615[1]},{&g_1615[1],&g_1615[4],&g_1615[4],&g_1615[1],&g_1615[1],&g_1615[1]}}};
            int8_t **l_1978[10] = {(void*)0,(void*)0,&l_1825,(void*)0,(void*)0,&l_1825,(void*)0,(void*)0,&l_1825,(void*)0};
            int8_t *** const l_1977 = &l_1978[4];
            uint32_t l_2022 = 0x9ACC8A26L;
            int16_t ***l_2057 = &g_334;
            int i, j, k;
            for (g_434 = 11; (g_434 < 7); g_434 = safe_sub_func_int32_t_s_s(g_434, 8))
            { /* block id: 833 */
                uint32_t l_1814[3];
                int i;
                for (i = 0; i < 3; i++)
                    l_1814[i] = 0x5E3BF926L;
                --l_1814[2];
            }
            if ((**g_1027))
            { /* block id: 836 */
                int8_t * const l_1826 = (void*)0;
                int32_t l_1832 = 4L;
                int32_t l_1834[1];
                const uint64_t *l_1893[5];
                int32_t l_1900 = 4L;
                uint32_t *l_1917 = &g_261;
                uint32_t **l_1916 = &l_1917;
                int16_t ****l_1944 = &g_671;
                int64_t *l_1961 = &g_127;
                union U0 *l_2011 = &g_895;
                int32_t *l_2015 = &l_1834[0];
                int16_t l_2017 = 9L;
                uint8_t **l_2038 = &g_1410;
                uint16_t l_2041 = 0x36EBL;
                int i;
                for (i = 0; i < 1; i++)
                    l_1834[i] = (-1L);
                for (i = 0; i < 5; i++)
                    l_1893[i] = &g_431;
                for (p_16 = 0; (p_16 <= 2); p_16 += 1)
                { /* block id: 839 */
                    int16_t *l_1822 = (void*)0;
                    uint16_t *l_1830[3];
                    int32_t l_1839 = (-1L);
                    int32_t l_1840 = (-7L);
                    int64_t *l_1847 = (void*)0;
                    uint32_t ** const *l_1850 = (void*)0;
                    uint32_t ** const ** const l_1849[2][10] = {{(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850},{(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850,(void*)0,&l_1850}};
                    int32_t l_1895 = 5L;
                    int8_t **l_1904[9][6][4] = {{{(void*)0,&l_1825,(void*)0,&l_1825},{(void*)0,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825}},{{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,&l_1825}},{{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825}},{{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,(void*)0},{(void*)0,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825}},{{&l_1825,(void*)0,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,&l_1825,&l_1825},{&l_1825,(void*)0,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,&l_1825}},{{&l_1825,(void*)0,&l_1825,(void*)0},{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,&l_1825},{(void*)0,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,&l_1825}},{{(void*)0,&l_1825,(void*)0,&l_1825},{(void*)0,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,(void*)0,&l_1825},{&l_1825,&l_1825,(void*)0,(void*)0},{&l_1825,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,&l_1825}},{{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,(void*)0,(void*)0,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,(void*)0}},{{&l_1825,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,(void*)0},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,&l_1825,&l_1825},{&l_1825,&l_1825,(void*)0,(void*)0}}};
                    int8_t ** const *l_1903[4][2][9] = {{{&l_1904[1][3][1],&l_1904[0][0][3],&l_1904[8][5][2],&l_1904[0][0][3],&l_1904[1][3][1],&l_1904[8][5][2],(void*)0,(void*)0,&l_1904[8][5][2]},{&l_1904[7][4][1],&l_1904[8][1][3],(void*)0,&l_1904[8][1][3],&l_1904[7][4][1],(void*)0,&l_1904[0][0][3],&l_1904[0][0][3],(void*)0}},{{&l_1904[1][3][1],&l_1904[0][0][3],&l_1904[8][5][2],&l_1904[0][0][3],&l_1904[1][3][1],&l_1904[8][5][2],(void*)0,(void*)0,&l_1904[8][5][2]},{&l_1904[7][4][1],&l_1904[8][1][3],(void*)0,&l_1904[8][1][3],&l_1904[7][4][1],(void*)0,&l_1904[0][0][3],&l_1904[0][0][3],(void*)0}},{{&l_1904[1][3][1],&l_1904[0][0][3],&l_1904[8][5][2],&l_1904[0][0][3],&l_1904[1][3][1],&l_1904[8][5][2],(void*)0,(void*)0,&l_1904[8][5][2]},{&l_1904[7][4][1],&l_1904[8][1][3],(void*)0,&l_1904[8][1][3],&l_1904[7][4][1],(void*)0,&l_1904[0][0][3],&l_1904[0][0][3],(void*)0}},{{&l_1904[1][3][1],&l_1904[0][0][3],&l_1904[8][5][2],&l_1904[0][0][3],&l_1904[1][3][1],&l_1904[8][5][2],(void*)0,(void*)0,&l_1904[8][5][2]},{&l_1904[7][4][1],&l_1904[8][1][3],(void*)0,&l_1904[8][1][3],&l_1904[7][4][1],(void*)0,&l_1904[0][0][3],&l_1904[0][0][3],(void*)0}}};
                    uint32_t *l_1913 = &g_250;
                    uint32_t **l_1912 = &l_1913;
                    int16_t ****l_1942 = &g_671;
                    int i, j, k;
                    for (i = 0; i < 3; i++)
                        l_1830[i] = &g_895.f0;
                    if (((g_1817 , (((safe_add_func_int64_t_s_s((((((l_1821 = l_1820) == l_1822) == (safe_add_func_int8_t_s_s((l_1825 != l_1826), ((g_1130 = (safe_sub_func_uint16_t_u_u((**g_1695), (((l_1842--) >= (safe_div_func_int64_t_s_s(((l_1840 || (((((*p_19) = (*p_18)) >= (((l_1833 , l_1834[0]) && (*g_55)) && 0xE7023866A2B5A4BCLL)) < p_17) && l_1840)) ^ p_16), (*g_1101)))) , p_17)))) && l_1848)))) < l_1848) < p_15), (*l_1790))) , l_1849[0][1]) != (void*)0)) > (*g_189)))
                    { /* block id: 844 */
                        int64_t l_1856 = (-4L);
                        int32_t l_1857 = 0x04F4A148L;
                        l_1835 |= ((*p_19) = (+(safe_sub_func_int64_t_s_s((safe_rshift_func_int8_t_s_u((l_1856 ^= (((p_16 || 4294967289UL) , ((l_1834[0] = 1UL) <= (*p_19))) , l_1834[0])), (l_1857 , ((safe_add_func_uint64_t_u_u(p_17, 0x0F4918FBE9B5B200LL)) , (((safe_sub_func_uint32_t_u_u(p_15, 4294967295UL)) < 1UL) < (**l_1791)))))), 0x4420D790D3A6B726LL))));
                    }
                    else
                    { /* block id: 849 */
                        int8_t l_1862 = 6L;
                        int32_t *l_1863[6];
                        uint8_t l_1864 = 2UL;
                        int8_t *l_1878 = &g_123;
                        uint32_t *l_1880[4][9] = {{&g_1501,&g_261,&g_250,&g_261,&g_1501,&g_261,&g_1501,&g_261,&g_250},{(void*)0,(void*)0,&g_1501,(void*)0,&g_434,(void*)0,&g_434,&g_434,(void*)0},{&g_261,&g_250,&g_1501,&g_250,&g_261,&g_261,&g_261,&g_250,&g_1501},{&g_434,&g_434,(void*)0,&g_434,&g_434,(void*)0,&g_434,&g_434,(void*)0}};
                        uint32_t **l_1879 = &l_1880[1][0];
                        uint32_t ***l_1881 = &l_1879;
                        int i, j;
                        for (i = 0; i < 6; i++)
                            l_1863[i] = &g_26;
                        l_1864++;
                        if (g_26)
                            goto lbl_1867;
                        (*l_1881) = ((p_16 < (((safe_div_func_int16_t_s_s((safe_mul_func_int32_t_s_s((**g_1027), (l_1833 < (l_1832 > p_15)))), p_16)) <= (*p_18)) != ((*l_1878) = (((safe_mul_func_int8_t_s_s((safe_mul_func_int8_t_s_s(5L, (l_1839 , 0x77L))), p_16)) , g_490) , 0x30L)))) , l_1879);
                        return (*g_501);
                    }
                    if (((safe_rshift_func_uint64_t_u_u(((*g_1099)--), 55)) == 0xA4L))
                    { /* block id: 857 */
                        uint64_t **l_1891 = (void*)0;
                        const uint64_t **l_1894 = &l_1893[2];
                        int8_t ** const **l_1905[9][8][3] = {{{(void*)0,&l_1903[1][0][6],&l_1903[2][0][1]},{&l_1903[1][1][2],&l_1903[2][0][1],&l_1903[1][0][6]},{&l_1903[1][1][4],&l_1903[3][0][6],&l_1903[1][0][6]},{&l_1903[2][0][1],&l_1903[2][0][1],&l_1903[3][0][6]},{(void*)0,&l_1903[1][0][6],&l_1903[3][1][2]},{(void*)0,(void*)0,&l_1903[1][1][4]},{&l_1903[2][0][1],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][4],(void*)0,&l_1903[1][1][4]}},{{&l_1903[1][1][2],&l_1903[1][1][5],&l_1903[3][1][2]},{(void*)0,&l_1903[1][1][5],&l_1903[3][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[1][0][6]},{&l_1903[1][0][0],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[2][0][1]},{(void*)0,&l_1903[1][0][6],&l_1903[2][0][1]},{&l_1903[1][1][2],&l_1903[2][0][1],&l_1903[1][0][6]},{&l_1903[1][1][4],&l_1903[3][0][6],&l_1903[1][0][6]}},{{&l_1903[2][0][1],&l_1903[2][0][1],&l_1903[3][0][6]},{(void*)0,&l_1903[1][0][6],&l_1903[3][1][2]},{(void*)0,(void*)0,&l_1903[1][1][4]},{&l_1903[2][0][1],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][4],(void*)0,&l_1903[1][1][4]},{&l_1903[1][1][2],&l_1903[1][1][5],&l_1903[3][1][2]},{(void*)0,&l_1903[1][1][5],&l_1903[3][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[1][0][6]}},{{&l_1903[1][0][0],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[2][0][1]},{(void*)0,&l_1903[1][0][6],&l_1903[2][0][1]},{&l_1903[1][1][2],&l_1903[2][0][1],&l_1903[1][0][6]},{&l_1903[1][1][4],&l_1903[3][0][6],&l_1903[1][0][6]},{&l_1903[2][0][1],&l_1903[2][0][1],&l_1903[3][0][6]},{(void*)0,&l_1903[1][0][6],&l_1903[3][1][2]},{(void*)0,(void*)0,&l_1903[1][1][4]}},{{&l_1903[2][0][1],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][4],(void*)0,&l_1903[1][1][4]},{&l_1903[1][1][2],&l_1903[1][1][5],&l_1903[3][1][2]},{(void*)0,&l_1903[1][1][5],&l_1903[3][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[1][0][6]},{&l_1903[1][0][0],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[2][0][1]},{(void*)0,&l_1903[1][0][6],&l_1903[2][0][1]}},{{&l_1903[1][1][2],&l_1903[2][0][1],&l_1903[1][0][6]},{&l_1903[1][1][4],&l_1903[3][0][6],&l_1903[1][0][6]},{&l_1903[2][0][1],&l_1903[2][0][1],&l_1903[3][0][6]},{(void*)0,&l_1903[1][0][6],&l_1903[3][1][2]},{(void*)0,(void*)0,&l_1903[1][1][4]},{&l_1903[2][0][1],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][4],(void*)0,&l_1903[1][1][4]},{&l_1903[1][1][2],&l_1903[1][1][5],&l_1903[3][1][2]}},{{(void*)0,&l_1903[1][1][5],&l_1903[3][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[1][0][6]},{&l_1903[1][0][0],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][0][6],(void*)0,&l_1903[2][0][1]},{(void*)0,&l_1903[1][0][6],&l_1903[2][0][1]},{&l_1903[1][1][2],&l_1903[2][0][1],&l_1903[1][0][6]},{&l_1903[1][1][4],&l_1903[3][0][6],&l_1903[1][0][6]},{&l_1903[2][0][1],&l_1903[2][0][1],(void*)0}},{{&l_1903[1][1][2],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][2],&l_1903[3][1][2],&l_1903[1][0][6]},{&l_1903[3][0][6],&l_1903[1][0][0],&l_1903[1][0][6]},{&l_1903[1][0][6],&l_1903[1][1][2],&l_1903[1][0][6]},{&l_1903[1][1][5],(void*)0,&l_1903[1][0][6]},{&l_1903[1][1][4],(void*)0,(void*)0},{&l_1903[1][0][0],&l_1903[1][1][2],(void*)0},{&l_1903[2][0][1],&l_1903[1][0][0],&l_1903[1][0][0]}},{{&l_1903[1][0][0],&l_1903[3][1][2],&l_1903[3][0][6]},{&l_1903[1][1][4],&l_1903[1][0][6],&l_1903[3][0][6]},{&l_1903[1][1][5],&l_1903[3][0][6],&l_1903[1][0][0]},{&l_1903[1][0][6],(void*)0,(void*)0},{&l_1903[3][0][6],&l_1903[3][0][6],(void*)0},{&l_1903[1][1][2],&l_1903[1][0][6],&l_1903[1][0][6]},{&l_1903[1][1][2],&l_1903[3][1][2],&l_1903[1][0][6]},{&l_1903[3][0][6],&l_1903[1][0][0],&l_1903[1][0][6]}}};
                        int i, j, k;
                        (*l_1790) = ((safe_add_func_uint64_t_u_u((p_16 , l_1829), (safe_lshift_func_int32_t_s_u(((l_1892 = l_1890) == ((*l_1894) = l_1893[2])), 16)))) && ((((p_17 || (l_1895 || (safe_sub_func_int32_t_s_s((safe_rshift_func_int64_t_s_u(((**g_356) != (((l_1900 , (l_1901[9][3][1] = &g_189)) != l_1902[3][5][1]) , 0L)), (*g_1099))), p_15)))) & 0x66L) < p_17) , p_16));
                        l_1906 = l_1903[1][0][6];
                        (**l_1791) = (*g_55);
                        (*p_19) &= 6L;
                    }
                    else
                    { /* block id: 865 */
                        uint8_t l_1909 = 255UL;
                        uint32_t ***l_1914[3][2][4] = {{{(void*)0,&l_1912,(void*)0,&l_1912},{(void*)0,&l_1912,&l_1912,(void*)0}},{{&l_1912,&l_1912,(void*)0,&l_1912},{&l_1912,&l_1912,(void*)0,(void*)0}},{{&l_1912,&l_1912,&l_1912,(void*)0},{(void*)0,&l_1912,(void*)0,&l_1912}}};
                        uint16_t l_1937[1];
                        int32_t *l_1939 = (void*)0;
                        int i, j, k;
                        for (i = 0; i < 1; i++)
                            l_1937[i] = 65527UL;
                        (*l_1790) = ((safe_lshift_func_int16_t_s_s(0xD262L, 2)) , (p_17 && l_1811));
                        l_1909 = (*p_18);
                        (*l_1791) = func_45((*p_19), func_45((((*g_888) == (void*)0) || ((safe_mul_func_uint8_t_u_u(((g_1915 = l_1912) == l_1916), 0xBDL)) <= (safe_lshift_func_uint64_t_u_s((safe_div_func_int8_t_s_s((((!(((~((safe_sub_func_uint32_t_u_u(((safe_div_func_int16_t_s_s(l_1811, (safe_add_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_u((0xAA0ACB16064C9C69LL >= ((((((**g_1409)++) & (safe_div_func_uint32_t_u_u(((((**l_1791) & 1L) >= g_1936) > (*g_1099)), l_1909))) & 0xF5D6L) < 0xC0A2C6C22F8C9B55LL) > 18446744073709551615UL)), p_16)), (**l_1791))))) < (*p_19)), p_15)) > (*g_189))) < l_1831[7]) != (*p_19))) <= p_16) != l_1937[0]), p_15)), l_1833)))), g_1938, &l_1834[0]), l_1939);
                    }
                    for (g_250 = 0; (g_250 <= 2); g_250 += 1)
                    { /* block id: 874 */
                        int16_t *****l_1943 = &g_1434;
                        int32_t l_1949 = 1L;
                        (*g_564) = (((((safe_add_func_int64_t_s_s((((l_1834[0] > ((((*l_1943) = l_1942) == l_1944) , (*g_189))) , ((safe_lshift_func_uint16_t_u_s(65531UL, 1)) , (*g_623))) != g_624[p_16]), (((*l_1790) = (++(*g_1099))) > ((p_19 == p_19) >= 250UL)))) ^ p_16) || l_1834[0]) <= l_1834[0]) & l_1839);
                        (*g_1938) = (**l_1791);
                        if (l_1949)
                            continue;
                        return p_18;
                    }
                }
                for (g_71 = 0; (g_71 <= 3); g_71 += 1)
                { /* block id: 886 */
                    uint16_t l_1953 = 0x0A19L;
                    ++l_1950;
                    l_1953++;
                }
                if ((safe_add_func_int64_t_s_s(((safe_lshift_func_uint8_t_u_u((((l_1834[0] = ((*l_1961) = (&g_1200 != l_1960[0][1][3]))) || l_1831[4]) <= (l_1900 == (safe_lshift_func_int16_t_s_s((safe_rshift_func_uint64_t_u_s((safe_rshift_func_int16_t_s_u((0x93FE3941L <= (safe_lshift_func_uint8_t_u_u((((p_15 && ((*g_1101) < 18446744073709551606UL)) | p_15) < 0xF1B4L), p_17))), 9)), l_1832)), p_17)))), 6)) <= 0x34A6L), p_16)))
                { /* block id: 892 */
                    uint32_t l_1984 = 0UL;
                    uint8_t l_1987 = 2UL;
                    int32_t *l_2016 = (void*)0;
                    int32_t l_2019 = 0x75879BFAL;
                    int32_t l_2021[7][8] = {{0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL},{0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL},{0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L},{0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL},{0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL},{0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L,0xE475B0C8L,0xE8D84C9FL,0xE475B0C8L},{0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL,7L,0xE8D84C9FL,0xE8D84C9FL}};
                    volatile uint32_t ** volatile *l_2048 = &g_2047[3];
                    int i, j;
                    if ((**g_356))
                    { /* block id: 893 */
                        int32_t *l_1986[6][1][10] = {{{&l_1833,&l_1900,&l_1833,&l_1900,&l_1778,&l_1900,&l_1833,&l_1900,&l_1833,&l_1900}},{{&l_1778,&l_1900,&l_1833,&l_1900,&l_1778,&l_1778,&l_1778,&l_1900,&l_1833,&l_1900}},{{&l_1778,&l_1900,&l_1833,&l_1900,&l_1833,&l_1900,&l_1778,&l_1900,&l_1833,&l_1900}},{{&l_1833,&l_1900,&l_1833,&l_1900,&l_1778,&l_1900,&l_1833,&l_1900,&l_1833,&l_1900}},{{&l_1778,&l_1900,&l_1833,&l_1900,&l_1778,&l_1778,&l_1778,&l_1900,&l_1833,&l_1900}},{{&l_1778,&l_1900,&l_1833,&l_1900,&l_1833,&l_1900,&l_1778,&l_1900,&l_1833,&l_1900}}};
                        int i, j, k;
                        (*g_564) ^= l_1950;
                        (*l_1790) = ((l_1832 = ((((safe_rshift_func_int32_t_s_u(0xB37FE189L, (safe_lshift_func_int64_t_s_s(((*l_1961) = (safe_rshift_func_uint8_t_u_u(((**g_1409) |= ((l_1976 != ((**l_1791) , l_1977)) > (~(0xFB786ADCL | ((l_1834[0] &= (safe_add_func_uint32_t_u_u((safe_lshift_func_uint8_t_u_s(l_1984, ((g_233 ^= g_1985[0][5][5]) , (l_1987 |= 0x73L)))), (safe_mul_func_int16_t_s_s((((((!(((safe_mul_func_uint16_t_u_u(((void*)0 != &g_1616), 0x1999L)) , p_15) | 0xB7L)) < 65531UL) , (*p_19)) , 0x56F10BC1L) >= p_17), 0x1FBCL))))) <= 0x5D21L))))), 5))), 9)))) , 0x19F0L) || 65533UL) ^ l_1832)) & 0x52C3L);
                    }
                    else
                    { /* block id: 902 */
                        uint16_t l_1994[8][8] = {{0xBC34L,65535UL,0x17D0L,0x5C2AL,0xBC34L,0x17D0L,65535UL,65535UL},{0x1AA1L,65535UL,65535UL,0x38F9L,65535UL,65535UL,0x1AA1L,65535UL},{0xF8B2L,0x38F9L,0xE7ABL,0x71A0L,0x38F9L,65535UL,0xBC34L,0xF8B2L},{0UL,0xF8B2L,0x5C2AL,65535UL,0x38F9L,0x17D0L,0x17D0L,0x38F9L},{0xF8B2L,65535UL,65535UL,0xF8B2L,65535UL,0UL,65535UL,65535UL},{0x1AA1L,65535UL,4UL,0x71A0L,0xBC34L,0x59D0L,0x71A0L,0x1AA1L},{65535UL,65535UL,0x5C2AL,0UL,3UL,0UL,0x5C2AL,65535UL},{65535UL,65535UL,0x17D0L,0xBC34L,0x5C2AL,0x17D0L,0x1AA1L,65535UL}};
                        union U0 *l_2012 = &g_294[0];
                        int32_t l_2018[8] = {0xFA1E2F0BL,0xFA1E2F0BL,0x9124059BL,0xFA1E2F0BL,0xFA1E2F0BL,0x9124059BL,0xFA1E2F0BL,0xFA1E2F0BL};
                        int i, j;
                        (**g_356) = (safe_unary_minus_func_uint16_t_u((l_1834[0] | (l_1994[3][3] | (g_1995 , (safe_add_func_int8_t_s_s(0xBAL, (!((g_1999 , (safe_rshift_func_int32_t_s_u(((+((safe_mod_func_int8_t_s_s((((*l_1790) = ((*g_1099) != (safe_div_func_uint16_t_u_u((safe_sub_func_int8_t_s_s((((*l_1961) = (safe_rshift_func_uint8_t_u_u((((l_2011 == l_2012) >= (g_1999 , l_2013)) , (*g_967)), 3))) >= l_1833), 0x44L)), (**g_1762))))) > p_16), p_17)) || p_15)) && p_15), g_2014))) & 1L)))))))));
                        l_2016 = l_2015;
                        ++l_2022;
                    }
                    for (p_15 = 29; (p_15 >= 32); ++p_15)
                    { /* block id: 911 */
                        union U0 *l_2029 = &g_364[1];
                        uint8_t ***l_2035 = &g_1409;
                        uint8_t **l_2037 = (void*)0;
                        uint8_t ***l_2036[6][6] = {{(void*)0,&l_2037,&l_2037,&l_2037,(void*)0,&l_2037},{(void*)0,&l_2037,&l_2037,&l_2037,(void*)0,(void*)0},{&l_2037,(void*)0,(void*)0,(void*)0,&l_2037,&l_2037},{&l_2037,(void*)0,&l_2037,(void*)0,&l_2037,&l_2037},{&l_2037,(void*)0,(void*)0,&l_2037,(void*)0,(void*)0},{&l_2037,&l_2037,&l_2037,&l_2037,&l_2037,&l_2037}};
                        int32_t l_2042 = 0x637A836EL;
                        int64_t *l_2044 = &g_1130;
                        int i, j;
                        if (l_2013)
                            goto lbl_1867;
                        (*g_2046) = ((safe_div_func_uint8_t_u_u((((*l_2015) , (void*)0) != l_2029), (safe_mul_func_int16_t_s_s((((*l_2044) = (+((g_1985[0][5][5] ^= ((*g_1215) = ((g_2043 ^= (safe_lshift_func_int16_t_s_u((1L > (((*l_2035) = &g_1410) == (l_2038 = &g_1410))), ((p_19 == p_18) & (l_2042 |= (safe_sub_func_uint16_t_u_u((((g_127 = (0x537B0C0AL == l_1831[8])) <= (*l_2015)) , (*l_2015)), l_2041))))))) == (*g_1410)))) , p_15))) | p_17), 9UL)))) , l_2045);
                        (*l_1791) = (*g_356);
                    }
                    (*l_2048) = g_2047[3];
                }
                else
                { /* block id: 925 */
                    return p_19;
                }
                for (p_15 = 0; (p_15 <= 40); p_15 = safe_add_func_uint64_t_u_u(p_15, 3))
                { /* block id: 930 */
                    int16_t ***l_2058 = (void*)0;
                    int32_t l_2082 = 0x909A54DCL;
                    if ((safe_div_func_uint16_t_u_u(p_15, (((**l_1916) = (safe_rshift_func_int16_t_s_s(p_16, 6))) , (~((~0UL) < 255UL))))))
                    { /* block id: 932 */
                        int16_t **l_2067[8][5][6] = {{{&l_1820,&l_1820,&l_1821,&l_1821,(void*)0,&l_1820},{&l_1820,&l_1821,&l_1820,&l_1821,(void*)0,&l_1821},{&l_1821,&l_1821,&l_1821,&l_1821,&l_1820,&l_1820},{&l_1821,&l_1821,&g_1215,&l_1820,&l_1821,&l_1821},{&l_1820,&l_1821,&g_1215,&l_1820,&l_1821,&l_1821}},{{&l_1821,&l_1820,&l_1820,&l_1821,&l_1820,&l_1821},{&l_1821,&l_1821,&l_1820,&l_1821,&l_1821,&l_1821},{&l_1820,&l_1820,&l_1821,&l_1821,&g_1215,&l_1820},{&l_1820,&l_1821,&g_1215,&l_1820,&g_1215,&l_1820},{&l_1820,&l_1821,&l_1821,&l_1821,&l_1820,&l_1821}},{{&g_1215,&l_1821,&l_1820,&l_1820,&l_1820,&l_1821},{&l_1821,&l_1821,&l_1820,&l_1821,&l_1821,&l_1821},{(void*)0,&l_1820,&g_1215,&l_1820,&g_1215,&l_1821},{&l_1820,&l_1820,&g_1215,&l_1821,&l_1821,&l_1820},{&g_1215,&l_1820,&g_1215,&l_1821,&l_1821,&l_1821}},{{&l_1820,&l_1821,&l_1820,&l_1821,&g_1215,&l_1821},{&l_1821,&l_1821,&g_1215,&l_1820,&l_1820,&l_1820},{&l_1820,&l_1820,&l_1820,&l_1820,&l_1820,&l_1821},{&l_1821,&l_1821,&l_1821,&l_1821,&g_1215,&l_1821},{&l_1820,&l_1821,&l_1821,&l_1821,&l_1820,&l_1820}},{{(void*)0,&l_1821,&l_1820,&l_1821,&g_1215,&l_1821},{&g_1215,&l_1820,&l_1821,&l_1821,&l_1820,&l_1821},{&l_1820,&l_1821,&l_1820,&l_1820,&l_1821,&l_1820},{&l_1820,&l_1821,&l_1821,&l_1821,&l_1821,&l_1821},{&l_1820,&l_1820,&l_1821,&l_1820,&l_1820,&l_1821}},{{&g_1215,&l_1821,&l_1820,&l_1821,&l_1821,&l_1820},{&l_1821,&l_1821,&g_1215,&l_1821,&l_1820,&l_1821},{&l_1820,&l_1820,&l_1820,&l_1821,&l_1821,&l_1821},{&g_1215,&l_1821,&g_1215,&l_1821,&l_1821,&l_1821},{&l_1820,&l_1821,&l_1820,&l_1820,&l_1820,&l_1820}},{{&l_1820,&l_1820,&l_1820,&l_1820,&g_1215,&l_1821},{&l_1820,&l_1821,&g_1215,&l_1821,&l_1820,&l_1821},{&g_1215,&l_1821,&l_1821,&l_1821,&g_1215,&l_1820},{&l_1820,&l_1821,(void*)0,&l_1821,&l_1820,&l_1821},{&l_1821,&l_1820,&g_1215,&l_1821,&l_1820,&l_1821}},{{&g_1215,&l_1821,(void*)0,&l_1820,&g_1215,&l_1820},{&l_1820,&l_1821,&l_1821,&l_1821,&l_1821,&l_1821},{&l_1820,&l_1820,&g_1215,&l_1820,(void*)0,&l_1821},{&l_1820,&l_1821,&l_1820,&l_1821,&g_1215,&l_1820},{&g_1215,&l_1821,&l_1820,&l_1821,(void*)0,&l_1821}}};
                        int32_t l_2079 = 0L;
                        const uint32_t l_2081[1] = {0UL};
                        int i, j, k;
                        (*p_18) = ((l_2057 != ((*l_1944) = l_2058)) <= (((safe_rshift_func_uint16_t_u_u((safe_sub_func_int32_t_s_s((*p_18), (((*l_1961) = 0L) <= (safe_sub_func_uint8_t_u_u((safe_add_func_uint64_t_u_u((((*l_2057) == (l_2068 = l_2067[3][0][0])) == ((safe_mod_func_uint8_t_u_u(((safe_sub_func_int64_t_s_s(((--(**l_1916)) , (p_17 & (safe_lshift_func_int64_t_s_u((safe_add_func_uint16_t_u_u((((((((p_17 <= (((0x80B6E24DL != (**g_548)) , l_2079) ^ 18446744073709551615UL)) & l_1831[6]) | p_16) , 18446744073709551608UL) ^ 0xFA8198CB93B8A1CALL) ^ p_15) ^ l_2079), (**g_1762))), (*l_1790))))), p_15)) , p_16), p_17)) , p_17)), 18446744073709551608UL)), p_17))))), 12)) , g_2080) , l_2081[0]));
                        (*l_1791) = (void*)0;
                    }
                    else
                    { /* block id: 939 */
                        return p_18;
                    }
                    if (l_2082)
                        continue;
                }
            }
            else
            { /* block id: 944 */
                int64_t *l_2085 = (void*)0;
                int64_t *l_2086 = &g_127;
                (*l_2045) = (safe_rshift_func_int8_t_s_u(4L, (p_15 >= ((*l_2086) = (p_17 ^ (**l_1791))))));
            }
            (*l_1790) &= (**g_501);
            for (g_925.f0 = (-13); (g_925.f0 == 42); g_925.f0++)
            { /* block id: 951 */
                uint32_t l_2089 = 0xCBE9E0D1L;
                l_2089--;
            }
        }
        else
        { /* block id: 954 */
            (*p_18) = g_2092;
            (*p_19) |= 1L;
        }
        for (l_2013 = 0; l_2013 < 6; l_2013 += 1)
        {
            g_1675[l_2013] = &g_1676;
        }
    }
    else
    { /* block id: 959 */
        uint32_t l_2097[6] = {0x1F0EC8E8L,0x1F0EC8E8L,0xB2BDCDACL,0x1F0EC8E8L,0x1F0EC8E8L,0xB2BDCDACL};
        uint32_t *l_2105 = &g_250;
        const uint64_t *l_2125 = &g_2126;
        int32_t l_2157 = 0x99019DD8L;
        int32_t l_2159 = 0xF0E69E47L;
        int32_t l_2162 = 0xB3AF2255L;
        int32_t l_2164 = 0x11B42D88L;
        int32_t l_2166 = 0x8E3E1707L;
        int32_t l_2167 = (-1L);
        int32_t l_2168 = 1L;
        int32_t l_2169[9][3][6] = {{{9L,9L,0x8B0B6B5BL,0xF051A0AAL,(-6L),0L},{0L,(-1L),(-1L),3L,0xE24BD44AL,0x8B0B6B5BL},{0L,0L,(-1L),0xD7FFD19BL,9L,0L}},{{(-9L),0xD7FFD19BL,0x8B0B6B5BL,0x6E09DF7EL,0L,6L},{0x6E09DF7EL,0L,6L,0x6E09DF7EL,3L,(-1L)},{0x239E142DL,7L,3L,0x51A94450L,(-10L),0xF051A0AAL}},{{(-10L),(-1L),(-9L),(-1L),(-10L),(-6L)},{8L,7L,0xE24BD44AL,0x26ADC93DL,(-1L),3L},{(-6L),0xCD22851BL,0L,7L,0xCD22851BL,3L}},{{0x26ADC93DL,0x51A94450L,0xE24BD44AL,(-10L),(-6L),(-6L)},{0xCD22851BL,8L,(-9L),(-6L),0x1C51F8C8L,0xF051A0AAL},{0xCD22851BL,(-2L),3L,(-10L),0xF0540BD8L,(-1L)}},{{0x26ADC93DL,(-6L),0x6E09DF7EL,7L,7L,0x6E09DF7EL},{(-6L),(-6L),0L,0x26ADC93DL,0xF0540BD8L,0L},{8L,(-2L),0L,(-1L),0x1C51F8C8L,0L}},{{(-10L),8L,0L,0x51A94450L,(-6L),0L},{0x239E142DL,0x51A94450L,0L,0x49ECF96FL,0xCD22851BL,0x6E09DF7EL},{0x49ECF96FL,0xCD22851BL,0x6E09DF7EL,0x49ECF96FL,(-1L),(-1L)}},{{0x239E142DL,7L,3L,0x51A94450L,(-10L),0xF051A0AAL},{(-10L),(-1L),(-9L),(-1L),(-10L),(-6L)},{8L,7L,0xE24BD44AL,0x26ADC93DL,(-1L),3L}},{{(-6L),0xCD22851BL,0L,7L,0xCD22851BL,3L},{0x26ADC93DL,0x51A94450L,0xE24BD44AL,(-10L),(-6L),(-6L)},{0xCD22851BL,8L,(-9L),(-6L),0x1C51F8C8L,0xF051A0AAL}},{{0xCD22851BL,(-2L),3L,(-10L),0xF0540BD8L,(-1L)},{0x26ADC93DL,(-6L),0x6E09DF7EL,7L,7L,0x6E09DF7EL},{(-6L),(-6L),0L,0x26ADC93DL,0xF0540BD8L,0L}}};
        int8_t l_2171 = (-7L);
        uint64_t l_2174[7] = {18446744073709551611UL,18446744073709551611UL,0x39802EEDA7DA9FC5LL,18446744073709551611UL,18446744073709551611UL,0x39802EEDA7DA9FC5LL,18446744073709551611UL};
        uint32_t * const ***l_2185 = (void*)0;
        uint32_t l_2191 = 4294967286UL;
        uint32_t *l_2202 = (void*)0;
        uint32_t **l_2201 = &l_2202;
        int8_t **l_2231 = &g_2229[3][1][1];
        int32_t **l_2286 = &g_1938;
        int32_t ***l_2302 = (void*)0;
        int16_t ***l_2347 = &g_334;
        int64_t **l_2365 = &g_465;
        int32_t l_2371[2];
        int32_t ** const *l_2381 = &l_2286;
        int32_t ** const **l_2380 = &l_2381;
        int32_t ** const ***l_2379 = &l_2380;
        uint32_t l_2395[8][8][4] = {{{0x43F14258L,0x15F0D0E1L,4294967290UL,4294967290UL},{4294967295UL,4294967295UL,0x255FA5ECL,0xDA4460E2L},{0x89A8E6CAL,8UL,0x414F5B9CL,1UL},{0xDA4460E2L,0UL,0x9D387A41L,4294967295UL},{8UL,0x7F9E045AL,0x43F14258L,0x17242D1AL},{0x6830384AL,0x43F14258L,0x6830384AL,0x9234216DL},{4294967295UL,5UL,4294967295UL,4294967291UL},{0x89104F76L,0UL,0x10A6BC44L,5UL}},{{4294967295UL,0xAE77555DL,0x10A6BC44L,0x04472EFAL},{0x89104F76L,0x6830384AL,4294967295UL,1UL},{4294967295UL,0x118BEC9CL,0x6830384AL,4UL},{0x6830384AL,4UL,0x43F14258L,4294967295UL},{8UL,0x89104F76L,4294967295UL,0x10A6BC44L},{0x05AD0C4DL,4294967295UL,0x10A6BC44L,1UL},{0x442118AFL,0xF82DB557L,0x43F14258L,0x19E40E75L},{1UL,0UL,0xA6E4B284L,8UL}},{{4294967295UL,0x17242D1AL,0x255FA5ECL,0UL},{5UL,4294967290UL,4294967290UL,5UL},{0x17242D1AL,0x6830384AL,4294967295UL,1UL},{4294967295UL,0x442118AFL,0x7E5C26E1L,0x255FA5ECL},{8UL,4294967295UL,0x89C799DEL,0x255FA5ECL},{0xF82DB557L,0x442118AFL,0UL,1UL},{1UL,0x6830384AL,0x89A8E6CAL,5UL},{0x2F496A8BL,4294967290UL,0x284A4750L,0UL}},{{0UL,0x17242D1AL,4294967295UL,8UL},{4294967290UL,0UL,4294967295UL,0x19E40E75L},{4294967295UL,0xF82DB557L,0x17242D1AL,1UL},{0x118BEC9CL,4294967295UL,4294967290UL,0x10A6BC44L},{4294967295UL,0x1EE38925L,0x89104F76L,1UL},{1UL,0x118BEC9CL,0x15F0D0E1L,0x118BEC9CL},{0UL,0x7E5C26E1L,1UL,0UL},{0x6830384AL,1UL,5UL,0UL}},{{0x7E5C26E1L,5UL,4294967295UL,4294967295UL},{0x7E5C26E1L,4294967295UL,5UL,0x89C799DEL},{0x6830384AL,4294967295UL,1UL,4294967290UL},{0UL,4294967295UL,0x15F0D0E1L,0x9234216DL},{1UL,8UL,0x89104F76L,0x9D387A41L},{4294967295UL,4294967295UL,4294967290UL,0UL},{0x118BEC9CL,5UL,0x17242D1AL,0x05AD0C4DL},{4294967295UL,0x9D387A41L,4294967295UL,0x414F5B9CL}},{{4294967290UL,0UL,4294967295UL,0UL},{0UL,4294967295UL,0x284A4750L,0x284A4750L},{0x2F496A8BL,0x2F496A8BL,0x89A8E6CAL,4294967291UL},{1UL,0x05AD0C4DL,0UL,0x6830384AL},{0xF82DB557L,4294967295UL,0x89C799DEL,0UL},{8UL,4294967295UL,0x7E5C26E1L,0x6830384AL},{4294967295UL,0x05AD0C4DL,4294967295UL,4294967291UL},{0x17242D1AL,0x2F496A8BL,4294967290UL,0x284A4750L}},{{5UL,4294967295UL,0x255FA5ECL,0UL},{4294967295UL,0UL,0xA6E4B284L,0x414F5B9CL},{1UL,0x9D387A41L,0x43F14258L,0x05AD0C4DL},{0x442118AFL,5UL,0x10A6BC44L,0UL},{0x05AD0C4DL,4294967295UL,4294967295UL,0x9D387A41L},{5UL,8UL,4294967295UL,0x9234216DL},{1UL,4294967295UL,1UL,4294967290UL},{0x9D387A41L,4294967295UL,0UL,0x89C799DEL}},{{0x1EE38925L,4294967295UL,5UL,4294967295UL},{1UL,5UL,5UL,0UL},{0x1EE38925L,1UL,0UL,0UL},{0x9D387A41L,0x7E5C26E1L,1UL,0x118BEC9CL},{1UL,0x7E5C26E1L,4294967295UL,1UL},{4294967295UL,0x99D6D3E3L,4294967291UL,5UL},{4294967290UL,0UL,5UL,0UL},{0xDA4460E2L,0x04472EFAL,4294967295UL,0x255FA5ECL}}};
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_2371[i] = 6L;
        if ((p_15 != ((*g_967) >= ((safe_sub_func_int8_t_s_s(l_2097[4], ((((**g_1695) = (!((l_2097[4] >= 0xC4B1L) & (*l_1790)))) | ((*g_1215) = (((!(~(safe_mod_func_uint8_t_u_u(((safe_lshift_func_uint8_t_u_s(l_2097[5], 6)) & (((*l_2105)++) , ((0x5E39L <= ((safe_div_func_uint8_t_u_u((!(safe_rshift_func_uint8_t_u_s((safe_lshift_func_uint64_t_u_s(((*g_1101) &= p_15), l_2097[4])), p_15))), (*l_1790))) < 0xC3BDB79EL)) >= p_16))), 0x10L)))) != 0xF60A88A0L) ^ 9L))) < (*p_19)))) , 4L))))
        { /* block id: 964 */
            int8_t l_2130 = 0x43L;
            int32_t l_2132 = 1L;
            int8_t ****l_2144 = (void*)0;
            int32_t l_2160[3];
            int16_t l_2163 = (-2L);
            int8_t **l_2230 = (void*)0;
            const uint8_t ***l_2277 = &g_2275[4];
            uint8_t l_2285 = 0UL;
            uint64_t l_2295[10][6][4] = {{{0x0C6D9DE4CBC4FE30LL,0x462E04F2ECF321D0LL,7UL,0x8820E6599F55FBD2LL},{7UL,0x8820E6599F55FBD2LL,18446744073709551613UL,1UL},{0x40058932948FFD3BLL,1UL,0xD158D1DA83384632LL,1UL},{0xC7BCD1F5407840ECLL,0x8820E6599F55FBD2LL,0x40058932948FFD3BLL,0x8820E6599F55FBD2LL},{0x925D8BB3311CE538LL,0x462E04F2ECF321D0LL,0x445ADC8AFE7F47FALL,1UL},{18446744073709551613UL,0xCD2035C0580E9A89LL,0xC7BCD1F5407840ECLL,6UL}},{{0xF9DDB29366B1B60ALL,1UL,0x59AC6BCD61EF5433LL,2UL},{0xF9DDB29366B1B60ALL,18446744073709551615UL,0xC7BCD1F5407840ECLL,6UL},{18446744073709551613UL,2UL,0x445ADC8AFE7F47FALL,0xE8C50E43E29B3848LL},{0x925D8BB3311CE538LL,0x462416D9B02917F3LL,0x40058932948FFD3BLL,0x462E04F2ECF321D0LL},{0xC7BCD1F5407840ECLL,1UL,0xD158D1DA83384632LL,0xE54AC5FBAF3FA6EFLL},{0x40058932948FFD3BLL,1UL,18446744073709551613UL,0x462E04F2ECF321D0LL}},{{7UL,0x462416D9B02917F3LL,7UL,0xE8C50E43E29B3848LL},{0x0C6D9DE4CBC4FE30LL,2UL,2UL,6UL},{3UL,18446744073709551615UL,0xB21537E41DE62A75LL,2UL},{4UL,1UL,0xB21537E41DE62A75LL,6UL},{3UL,0xCD2035C0580E9A89LL,2UL,1UL},{0x0C6D9DE4CBC4FE30LL,0x462E04F2ECF321D0LL,7UL,0x8820E6599F55FBD2LL}},{{7UL,0x8820E6599F55FBD2LL,18446744073709551613UL,1UL},{0x40058932948FFD3BLL,1UL,0xD158D1DA83384632LL,1UL},{0xC7BCD1F5407840ECLL,0x8820E6599F55FBD2LL,0x40058932948FFD3BLL,0x8820E6599F55FBD2LL},{0x925D8BB3311CE538LL,0x462E04F2ECF321D0LL,0x445ADC8AFE7F47FALL,1UL},{18446744073709551613UL,0xCD2035C0580E9A89LL,0xC7BCD1F5407840ECLL,6UL},{0xF9DDB29366B1B60ALL,1UL,0x59AC6BCD61EF5433LL,2UL}},{{0xF9DDB29366B1B60ALL,18446744073709551615UL,0xC7BCD1F5407840ECLL,6UL},{18446744073709551613UL,2UL,0x445ADC8AFE7F47FALL,0xE8C50E43E29B3848LL},{0x925D8BB3311CE538LL,0x462416D9B02917F3LL,0x40058932948FFD3BLL,0x462E04F2ECF321D0LL},{0xC7BCD1F5407840ECLL,1UL,0xD158D1DA83384632LL,0xE54AC5FBAF3FA6EFLL},{0x40058932948FFD3BLL,1UL,18446744073709551613UL,0x462E04F2ECF321D0LL},{7UL,0x462416D9B02917F3LL,7UL,0xE8C50E43E29B3848LL}},{{0x0C6D9DE4CBC4FE30LL,2UL,2UL,6UL},{3UL,18446744073709551615UL,0xB21537E41DE62A75LL,2UL},{4UL,1UL,0xB21537E41DE62A75LL,6UL},{3UL,0xCD2035C0580E9A89LL,2UL,1UL},{0x0C6D9DE4CBC4FE30LL,0x462E04F2ECF321D0LL,7UL,0x8820E6599F55FBD2LL},{7UL,0x8820E6599F55FBD2LL,18446744073709551613UL,1UL}},{{0x40058932948FFD3BLL,1UL,0xD158D1DA83384632LL,1UL},{0xC7BCD1F5407840ECLL,0x8820E6599F55FBD2LL,0x40058932948FFD3BLL,0x8820E6599F55FBD2LL},{0x925D8BB3311CE538LL,0x462E04F2ECF321D0LL,0x445ADC8AFE7F47FALL,1UL},{18446744073709551613UL,0xCD2035C0580E9A89LL,0xC7BCD1F5407840ECLL,6UL},{0xF9DDB29366B1B60ALL,1UL,0x59AC6BCD61EF5433LL,2UL},{0xF9DDB29366B1B60ALL,18446744073709551615UL,0xC7BCD1F5407840ECLL,6UL}},{{18446744073709551613UL,2UL,0x445ADC8AFE7F47FALL,0xE8C50E43E29B3848LL},{0x925D8BB3311CE538LL,0x462416D9B02917F3LL,0x40058932948FFD3BLL,0x462E04F2ECF321D0LL},{7UL,1UL,0x59AC6BCD61EF5433LL,0x462E04F2ECF321D0LL},{4UL,1UL,0x40058932948FFD3BLL,1UL},{0x5182C662BAD161D8LL,1UL,0x5182C662BAD161D8LL,18446744073709551615UL},{2UL,0xE54AC5FBAF3FA6EFLL,0xD158D1DA83384632LL,1UL}},{{0x925D8BB3311CE538LL,0xCD2035C0580E9A89LL,0x0C6D9DE4CBC4FE30LL,0xE54AC5FBAF3FA6EFLL},{3UL,1UL,0x0C6D9DE4CBC4FE30LL,6UL},{0x925D8BB3311CE538LL,0xB2128A0557642EFCLL,0xD158D1DA83384632LL,0UL},{2UL,1UL,0x5182C662BAD161D8LL,2UL},{0x5182C662BAD161D8LL,2UL,0x40058932948FFD3BLL,1UL},{4UL,0x8820E6599F55FBD2LL,0x59AC6BCD61EF5433LL,1UL}},{{7UL,2UL,4UL,2UL},{0xB21537E41DE62A75LL,1UL,0x3F9351E36C2B6307LL,0UL},{0x40058932948FFD3BLL,0xB2128A0557642EFCLL,7UL,6UL},{0x3B026917EE8902DFLL,1UL,0xC7BCD1F5407840ECLL,0xE54AC5FBAF3FA6EFLL},{0x3B026917EE8902DFLL,0xCD2035C0580E9A89LL,7UL,1UL},{0x40058932948FFD3BLL,0xE54AC5FBAF3FA6EFLL,0x3F9351E36C2B6307LL,18446744073709551615UL}}};
            uint8_t l_2321 = 0UL;
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2160[i] = 0x5670D2D2L;
            for (g_1501 = 0; (g_1501 <= 2); g_1501 += 1)
            { /* block id: 967 */
                int16_t **l_2115 = &g_1215;
                int8_t *l_2123 = &g_123;
                const uint64_t *l_2127 = &g_2128;
                int32_t l_2129 = 0xFC0A7F11L;
                int32_t l_2131 = 0x9AF252C1L;
                int8_t **l_2147 = &l_2123;
                int8_t ***l_2146[6] = {(void*)0,&l_2147,(void*)0,(void*)0,&l_2147,(void*)0};
                int8_t ****l_2145 = &l_2146[4];
                int32_t l_2161 = 4L;
                int32_t l_2165[7][1][1] = {{{0x9977EC95L}},{{0L}},{{0L}},{{0x9977EC95L}},{{0L}},{{0L}},{{0x9977EC95L}}};
                int32_t l_2170[10] = {(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L)};
                int32_t *l_2186 = &l_2167;
                uint32_t ***l_2190 = &g_1915;
                int64_t l_2269 = 0xCF43AC61AB63E390LL;
                int32_t *l_2287 = &g_71;
                int32_t *l_2288 = &l_2170[0];
                int32_t *l_2289 = &l_2157;
                int32_t *l_2290 = &l_2169[5][1][5];
                int32_t *l_2291 = &g_50;
                int32_t *l_2292 = &l_2169[7][1][4];
                int32_t *l_2293 = &l_2168;
                int32_t *l_2294[1][4] = {{&l_1841,&l_1841,&l_1841,&l_1841}};
                int32_t ** const *l_2303 = &g_561;
                const union U0 *l_2312 = &g_294[3];
                const union U0 **l_2311 = &l_2312;
                uint16_t **l_2332 = (void*)0;
                int i, j, k;
                for (p_15 = 0; (p_15 <= 2); p_15 += 1)
                { /* block id: 970 */
                    int16_t l_2120 = 0x6EA0L;
                    const uint64_t **l_2124[3];
                    int8_t ****l_2148 = &l_2146[4];
                    int32_t l_2156 = (-7L);
                    int32_t l_2158[7] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
                    int32_t l_2172[5];
                    uint32_t ***l_2189 = &g_1915;
                    uint32_t *l_2199 = &l_2097[4];
                    uint32_t **l_2198 = &l_2199;
                    int i;
                    for (i = 0; i < 3; i++)
                        l_2124[i] = (void*)0;
                    for (i = 0; i < 5; i++)
                        l_2172[i] = (-1L);
                    l_2115 = &l_1821;
                    if (((**l_1791) = ((safe_sub_func_int32_t_s_s((safe_div_func_uint64_t_u_u((((*g_1099) &= l_2120) >= (safe_add_func_int16_t_s_s(((void*)0 != l_2123), p_17))), p_17)), ((p_15 & (l_2130 = (((l_2127 = (l_2125 = (void*)0)) != &g_431) == (l_2129 = p_15)))) <= 0UL))) < l_2131)))
                    { /* block id: 978 */
                        int32_t *l_2151 = &l_1841;
                        int32_t *l_2152 = &l_2131;
                        int32_t *l_2153 = (void*)0;
                        int32_t *l_2154 = &g_26;
                        int32_t *l_2155[9][4][7] = {{{&l_2129,&l_2020[0][7][4],&l_2132,&g_1774,&g_71,&g_71,&l_2020[0][4][2]},{&l_2020[0][0][3],&l_2020[0][2][1],&g_1774,(void*)0,&l_1841,&g_1774,&l_2020[0][2][1]},{&l_1837,&l_1837,&l_1841,&l_2132,&l_2129,&g_1774,&l_2020[0][4][2]},{&l_1841,&l_2020[0][0][4],&l_2131,&l_2132,&l_2132,&g_71,&g_56}},{{&l_2132,&g_56,&l_2129,&l_2131,(void*)0,&l_2020[0][4][2],&l_1837},{&l_2020[0][4][2],&l_2132,&l_1837,&g_71,&l_2020[0][4][2],&l_1841,(void*)0},{&l_2132,(void*)0,&l_2020[0][4][2],&l_2013,&l_2020[0][4][2],(void*)0,&l_2132},{&l_2129,&l_1837,&g_71,(void*)0,&l_1837,&l_2020[0][2][1],&l_2132}},{{&l_2129,&g_26,&g_71,&l_2020[0][4][2],&l_2132,&l_2129,(void*)0},{(void*)0,&l_2013,&g_71,(void*)0,(void*)0,&l_2020[0][4][2],&g_26},{(void*)0,(void*)0,&l_2020[0][4][2],&g_50,&g_56,(void*)0,&l_2020[0][4][2]},{&g_1774,&l_2129,&l_1837,&l_2131,&l_2131,&g_1774,&l_2129}},{{&l_2129,&l_2020[0][4][2],&l_2129,&l_1837,&g_71,&l_1837,&g_56},{(void*)0,&g_56,(void*)0,&l_2129,&l_2020[0][4][2],&l_2020[0][4][2],&g_71},{(void*)0,&l_2132,&g_26,&g_71,(void*)0,&l_1841,&g_71},{&g_71,&g_1774,&l_1841,(void*)0,&g_71,&l_1841,(void*)0}},{{(void*)0,&l_2020[0][4][2],&g_1774,(void*)0,(void*)0,&l_2132,&l_2132},{&g_1774,&g_50,(void*)0,&g_56,&l_2020[0][4][2],&l_1837,&g_50},{&l_2131,&g_1774,&l_2013,&l_1841,&l_1841,&l_2013,&g_1774},{&l_2013,&l_2129,&g_26,&l_2020[0][4][2],&l_2020[0][4][2],&l_1841,&l_2132}},{{&g_71,&l_1841,&g_71,&l_2013,&l_2129,&l_2131,&l_2131},{&l_2132,&g_50,&l_2131,&l_2020[0][4][2],(void*)0,&l_2132,&l_1837},{&l_2132,&l_2131,&l_2020[0][0][4],&l_1841,&g_1774,&l_2020[0][7][4],&l_2020[0][4][2]},{&l_2013,(void*)0,(void*)0,&g_56,(void*)0,(void*)0,&l_2020[0][0][3]}},{{&g_1774,&l_2129,(void*)0,(void*)0,&l_2132,&l_2129,&l_2129},{&l_2013,&l_2129,&l_1841,(void*)0,&g_1774,(void*)0,(void*)0},{&g_56,&l_1837,&l_1841,&g_71,(void*)0,(void*)0,&l_2020[0][4][2]},{&g_56,&l_2020[0][4][2],&l_1837,&l_2129,&g_50,&l_1837,&g_50}},{{&l_2013,&l_2020[0][4][2],&g_71,(void*)0,&g_1774,&l_2013,&l_1837},{&g_1774,&l_2132,&l_2129,&l_2020[0][0][4],&g_26,&l_2013,&l_1837},{&l_2013,&g_50,&g_71,&l_2020[0][4][2],&l_1837,&l_2020[0][4][2],&g_71},{&l_2132,&l_2132,&g_50,&g_71,(void*)0,&g_56,&l_1841}},{{&l_2132,&g_1774,&g_71,(void*)0,&l_1841,&l_2020[0][7][4],(void*)0},{&g_71,&l_1837,&l_2013,&l_2020[0][4][2],(void*)0,(void*)0,&l_1837},{&l_2013,&l_2020[0][2][1],(void*)0,&g_56,&l_1837,&l_1841,&g_56},{&l_2131,&l_2129,&l_1841,&l_2131,&g_26,&l_2013,&l_2129}}};
                        int32_t l_2173[2];
                        int i, j, k;
                        for (i = 0; i < 2; i++)
                            l_2173[i] = 0L;
                        (*l_1791) = p_19;
                        (*l_1790) = ((l_2132 >= (p_17 <= (((**g_1409)++) != (safe_sub_func_uint64_t_u_u((248UL || (safe_sub_func_uint32_t_u_u(l_2131, ((safe_mul_func_int8_t_s_s(((**l_2147) = (safe_lshift_func_int8_t_s_u((+(((*g_1215) ^= l_2132) > (l_2144 != (l_2148 = l_2145)))), 3))), (safe_div_func_int8_t_s_s(p_17, p_16)))) == (*g_1101))))), l_2131))))) <= p_15);
                        (*p_18) ^= ((*g_1673) != (*g_1673));
                        l_2174[1]++;
                    }
                    else
                    { /* block id: 987 */
                        return p_19;
                    }
                    if ((0x1E161E4171B3FE78LL || (l_2132 = (((*g_1099) = (p_17 ^ (l_2160[1] & (safe_add_func_uint64_t_u_u((1UL != ((void*)0 != &g_2047[3])), (safe_mul_func_int16_t_s_s((!(p_16 != (l_2184 != l_2185))), p_17))))))) == (***g_1673)))))
                    { /* block id: 992 */
                        l_2186 = &l_2169[7][1][4];
                        (**l_1791) ^= ((((*l_2123) ^= 1L) || (l_2157 &= (*g_1410))) , ((((*l_1790) & p_16) | (((*l_2184) = l_2189) == l_2190)) , l_2191));
                        (*l_1790) &= (*g_1938);
                        (*l_1791) = ((0x39L == ((*g_1410) = (**l_1791))) , (*l_1791));
                    }
                    else
                    { /* block id: 1001 */
                        uint32_t ***l_2200 = &l_2198;
                        uint32_t ***l_2203[2][4][7];
                        union U0 *l_2208 = &g_2209;
                        int i, j, k;
                        for (i = 0; i < 2; i++)
                        {
                            for (j = 0; j < 4; j++)
                            {
                                for (k = 0; k < 7; k++)
                                    l_2203[i][j][k] = &l_2201;
                            }
                        }
                        (*l_1791) = func_45((safe_lshift_func_int64_t_s_u((safe_rshift_func_uint8_t_u_s(((safe_rshift_func_uint16_t_u_s(((*g_153) = (**g_1762)), 9)) & (**g_1762)), (((*l_2200) = l_2198) == (g_2204[1] = l_2201)))), 60)), func_45((safe_lshift_func_int16_t_s_s((0x1AC0EF14L == l_2172[0]), p_16)), (*g_356), func_45(((((g_624[0] = g_624[0]) == l_2208) ^ 0x22C9C813L) > 0L), p_18, &g_56)), &l_2160[0]);
                        if ((*p_19))
                            continue;
                        if ((*g_1938))
                            continue;
                    }
                    for (g_250 = 0; (g_250 <= 2); g_250 += 1)
                    { /* block id: 1012 */
                        uint32_t * const ****l_2219 = &g_2215;
                        int32_t *l_2220 = (void*)0;
                        int32_t *l_2221 = &g_233;
                        int i, j, k;
                        (*l_1790) = (safe_add_func_int8_t_s_s((((safe_sub_func_uint64_t_u_u((p_16 = g_504[(p_15 + 2)][(g_250 + 6)][p_15]), p_17)) , ((*l_2221) = (safe_unary_minus_func_uint64_t_u((&g_1198 == ((*l_2219) = g_2215)))))) , l_2130), 0xA7L));
                        (*g_2223) = l_2222;
                    }
                }
                for (g_129 = 0; (g_129 <= 3); g_129 += 1)
                { /* block id: 1022 */
                    const int32_t *l_2226 = &g_63;
                    const int32_t **l_2225 = &l_2226;
                    g_2227 = ((*l_2225) = p_18);
                    if ((*p_19))
                    { /* block id: 1025 */
                        return p_19;
                    }
                    else
                    { /* block id: 1027 */
                        return (*g_1355);
                    }
                }
                if (((*p_19) |= 2L))
                { /* block id: 1032 */
                    (*g_564) &= 9L;
                }
                else
                { /* block id: 1034 */
                    int64_t *l_2247 = &g_127;
                    int32_t l_2248 = 0x0338E40FL;
                    int32_t ***l_2249[5];
                    int i;
                    for (i = 0; i < 5; i++)
                        l_2249[i] = &g_561;
                    if ((((l_2230 = g_2228) != (l_2232 = l_2231)) & ((((safe_mul_func_uint64_t_u_u(((safe_sub_func_uint16_t_u_u(((safe_mul_func_int16_t_s_s((*l_1790), ((safe_div_func_int8_t_s_s((safe_mod_func_uint8_t_u_u(((safe_add_func_uint16_t_u_u(p_17, (*g_1215))) || ((l_2248 = ((*l_2247) = ((safe_div_func_uint64_t_u_u((*g_1099), (*g_1099))) , (((l_2159 &= (*p_18)) , p_15) ^ l_2163)))) >= l_2130)), p_17)), (*g_1410))) && p_17))) | l_2160[1]), l_2160[1])) , (*g_1099)), (*g_1099))) , p_16) >= 1UL) >= (*g_1410))))
                    { /* block id: 1040 */
                        uint32_t l_2258 = 4294967292UL;
                        uint16_t ***l_2266[1];
                        uint16_t ****l_2265 = &l_2266[0];
                        int i;
                        for (i = 0; i < 1; i++)
                            l_2266[i] = &g_1695;
                        (*g_2250) = l_2249[1];
                        (*l_2186) = (safe_mul_func_int64_t_s_s((safe_mul_func_uint8_t_u_u((9UL || (((l_2258 = ((***g_1673) | (safe_mul_func_uint64_t_u_u(p_16, p_15)))) != ((safe_lshift_func_uint8_t_u_u(0x4BL, (((**g_1409) = (safe_mod_func_uint8_t_u_u((*g_1410), (safe_lshift_func_uint64_t_u_u((&g_887 != ((*l_2265) = &g_1762)), 39))))) > ((safe_mod_func_int64_t_s_s(0x85FCF45A8FD6DDE4LL, (*g_1099))) < 0L)))) , 0xDBF62E6AL)) , l_2258)), l_2269)), (-6L)));
                        (*p_18) |= (*l_2186);
                        (**l_1791) = (0xF1A071E4L != ((((safe_mul_func_uint64_t_u_u(3UL, 0x3CF297919FD84452LL)) >= (18446744073709551615UL >= ((p_15 < (safe_add_func_uint32_t_u_u((*g_2218), ((((l_2277 = g_2274) != (void*)0) , (((+0x76F7154ECD3A2B22LL) , 0xA2L) >= (*g_1410))) != p_16)))) || p_15))) , (*p_18)) > 0UL));
                    }
                    else
                    { /* block id: 1049 */
                        uint16_t l_2281[7][10] = {{6UL,1UL,0xBB04L,0xBB04L,1UL,6UL,65535UL,65532UL,65535UL,65532UL},{0UL,0xBB04L,65535UL,9UL,65535UL,0xBB04L,0UL,65535UL,0x941FL,0x941FL},{0UL,0x941FL,6UL,0x3A5BL,0x3A5BL,6UL,0x941FL,0UL,1UL,65535UL},{6UL,65535UL,0UL,0xBB04L,0x941FL,0xBB04L,0UL,65535UL,0x3A5BL,1UL},{6UL,65532UL,0UL,0x941FL,65535UL,65535UL,0x941FL,0UL,65532UL,6UL},{65532UL,0xBB04L,0x3A5BL,0x941FL,9UL,6UL,9UL,0x941FL,0x3A5BL,0xBB04L},{1UL,0UL,6UL,0xBB04L,9UL,0UL,0UL,9UL,0xBB04L,6UL}};
                        const int32_t l_2284 = 0x8C22C6A0L;
                        int i, j;
                        (*g_189) = (safe_add_func_uint32_t_u_u((l_2281[5][3]++), (l_2284 , l_2285)));
                        (*g_1938) |= l_2163;
                        (*l_1790) ^= (**g_356);
                    }
                    (*p_19) = (l_2286 == &l_2186);
                    return p_19;
                }
                --l_2295[8][2][3];
                for (l_1837 = 2; (l_1837 >= 0); l_1837 -= 1)
                { /* block id: 1061 */
                    uint32_t l_2304 = 0x22A44B1EL;
                    if ((*l_2287))
                        break;
                    (*l_2286) = func_45(((safe_rshift_func_int16_t_s_u((-10L), 6)) == (safe_sub_func_uint32_t_u_u(((l_2302 = (void*)0) != l_2303), (***g_2216)))), &l_2132, ((*l_1791) = func_45((**g_1027), p_19, p_19)));
                    if ((((p_16 || (0x32FECA5C750724E0LL >= p_15)) & (*p_19)) | (((l_2232 = l_2232) != l_2231) > 0x75BA9DFCL)))
                    { /* block id: 1067 */
                        if ((*l_2045))
                            break;
                    }
                    else
                    { /* block id: 1069 */
                        const int32_t **l_2316 = &g_2227;
                        const int32_t ***l_2315 = &l_2316;
                        const int32_t ****l_2314 = &l_2315;
                        const int32_t *****l_2317 = &l_2314;
                        (*l_2291) = l_2304;
                        (*l_2293) ^= (safe_lshift_func_int32_t_s_s((safe_div_func_int64_t_s_s(((0x16L && ((safe_lshift_func_int64_t_s_s(((void*)0 == l_2311), (&l_2127 == (g_2313 = &g_1101)))) | (1L >= ((-1L) >= ((**l_1791) , (p_16 ^ (*g_2276))))))) == (*p_19)), 1UL)), l_2304));
                        (*l_2317) = l_2314;
                    }
                    for (g_50 = 0; (g_50 <= 3); g_50 += 1)
                    { /* block id: 1077 */
                        uint16_t ***l_2333 = &l_2332;
                        (*l_2287) = ((*p_19) = 0x8872ADFBL);
                        (*l_1791) = (*g_548);
                        (*p_19) = ((!0x17L) && (((((safe_mul_func_uint64_t_u_u(((**l_2286) > (((((l_2321 < (((safe_mod_func_uint8_t_u_u(((safe_unary_minus_func_int32_t_s(((+(p_15 > (safe_mul_func_int16_t_s_s(((*g_1215) ^= (safe_add_func_int32_t_s_s((*l_2289), ((safe_sub_func_uint64_t_u_u((((*l_2333) = l_2332) != (void*)0), (safe_mod_func_int64_t_s_s(((0x425AE9B1L ^ (*p_18)) <= 248UL), 18446744073709551609UL)))) <= p_17)))), p_16)))) <= 65535UL))) <= (-7L)), p_15)) >= 0xA758L) >= p_15)) || 0x12886F20A964B1B7LL) < p_17) | (*p_19)) >= 1UL)), l_2295[8][2][3])) > 0x86DAFEFF6F5AAAE0LL) & p_15) , (-2L)) != p_16));
                    }
                }
            }
        }
        else
        { /* block id: 1087 */
            int8_t l_2351 = 0L;
            int32_t l_2357 = (-6L);
            int32_t *****l_2382 = (void*)0;
            int32_t *l_2390 = &g_71;
            int32_t *l_2391 = &g_26;
            int32_t *l_2392 = &l_2169[6][2][0];
            int32_t *l_2393 = &l_2164;
            int32_t *l_2394[8][4];
            int i, j;
            for (i = 0; i < 8; i++)
            {
                for (j = 0; j < 4; j++)
                    l_2394[i][j] = &g_2385;
            }
            for (g_389 = 2; (g_389 < 28); g_389 = safe_add_func_int64_t_s_s(g_389, 7))
            { /* block id: 1090 */
                int64_t *l_2338 = &g_127;
                int8_t ***l_2349 = &g_2228;
                int32_t l_2352 = 3L;
                int16_t l_2356 = 0x4462L;
                int32_t l_2358 = (-4L);
                if (((**l_2286) != (((*l_2338) = p_16) <= ((safe_mod_func_int16_t_s_s((safe_lshift_func_uint32_t_u_s((safe_add_func_uint32_t_u_u(((safe_mul_func_uint32_t_u_u(p_17, ((*g_1101) == ((l_2347 != ((~(((*l_1790) &= ((((((void*)0 != l_2349) & p_16) <= (l_2350 == (void*)0)) < 0x70FD17AD34EA4AFELL) <= 0L)) > l_2351)) , (*g_889))) >= (***g_2216))))) != (**g_1355)), (*p_19))), 22)), l_2352)) || 0x20L))))
                { /* block id: 1093 */
                    int32_t *l_2353 = (void*)0;
                    int32_t *l_2354 = &l_2020[0][4][2];
                    int32_t *l_2355[8][10][3] = {{{&l_2169[7][1][4],&l_2020[0][4][2],&l_1837},{&l_2157,&g_56,(void*)0},{&l_2167,&l_2168,&l_2352},{&l_1837,&g_1774,(void*)0},{&l_2169[8][2][4],&l_2164,(void*)0},{&l_2020[0][4][2],&l_2159,(void*)0},{(void*)0,&l_2169[8][2][4],&l_2157},{&l_2169[7][1][4],&l_2162,&l_1837},{&l_2020[0][4][2],&l_2162,&l_2167},{&l_2166,&l_2169[8][2][4],&l_1841}},{{&l_2164,&l_2159,&g_50},{(void*)0,&l_2164,&l_2166},{&l_2020[0][3][4],&g_1774,&l_2020[0][4][2]},{(void*)0,&l_2168,&l_2159},{&l_2162,&g_56,(void*)0},{&l_2167,&l_2020[0][4][2],&l_2167},{(void*)0,&g_1774,(void*)0},{&l_1837,&l_2169[7][0][4],&g_71},{&l_2168,&l_2166,&l_2167},{(void*)0,&l_1837,(void*)0}},{{(void*)0,&l_2168,&l_2159},{&l_2352,&l_2162,&g_56},{&l_2159,&l_2352,(void*)0},{&l_2162,(void*)0,&g_50},{&l_2159,&l_2169[7][0][4],(void*)0},{&l_2352,&l_2157,&l_2166},{(void*)0,&l_2167,&l_1837},{(void*)0,&l_2167,&l_1841},{&l_2168,&l_2020[0][4][2],&g_56},{&l_1837,(void*)0,&l_2168}},{{(void*)0,(void*)0,&g_71},{&l_2167,&l_2159,&l_2159},{&l_2162,(void*)0,(void*)0},{(void*)0,&g_71,&l_1837},{&l_2020[0][3][4],&l_2168,&l_2352},{(void*)0,&l_2352,(void*)0},{&l_2164,&l_1837,&g_1774},{&l_2166,(void*)0,(void*)0},{&l_2020[0][4][2],&g_1774,(void*)0},{&l_2169[7][1][4],&l_2167,&g_1774}},{{(void*)0,&l_2352,(void*)0},{&l_2020[0][4][2],&l_2168,&l_2352},{&l_2169[8][2][4],(void*)0,&l_1837},{&l_1837,&l_2020[0][4][2],(void*)0},{&l_2167,(void*)0,&l_2159},{&l_2157,&l_1837,&g_71},{&l_2169[7][1][4],&l_2020[0][4][2],&l_2168},{&l_2020[0][3][4],&g_71,&g_56},{&l_1837,&l_2169[8][2][4],&l_1841},{&l_1841,&l_1837,&l_1837}},{{&l_2159,&l_2020[0][4][2],&l_2352},{(void*)0,&l_1837,&l_2352},{&l_2167,(void*)0,&l_2164},{(void*)0,&l_1837,&l_2157},{&l_2013,(void*)0,(void*)0},{&l_2013,&l_1837,&l_2169[7][1][4]},{(void*)0,&g_26,&l_2157},{(void*)0,&l_2162,&g_50},{&l_2167,(void*)0,&g_1774},{&l_2167,&l_2157,&l_1841}},{{(void*)0,&l_2168,&g_56},{&l_2162,(void*)0,&l_2159},{&l_2167,(void*)0,&l_2167},{(void*)0,&g_26,&l_2013},{&l_2169[0][2][4],&l_2166,&l_2352},{(void*)0,&g_56,&l_2164},{(void*)0,&l_2167,&l_2020[0][4][2]},{&g_56,&l_2167,&g_56},{&l_2013,(void*)0,&l_2164},{&l_2013,&l_1837,(void*)0}},{{&g_56,&l_2162,&l_2166},{(void*)0,&l_2013,&l_2159},{(void*)0,&l_2020[0][4][2],&l_1841},{&l_2169[0][2][4],&l_2157,&l_1837},{(void*)0,&l_2168,&l_2157},{&l_2167,&l_2167,&l_2162},{&l_2162,&l_1837,(void*)0},{(void*)0,&l_2166,&l_2013},{&l_2167,&l_2013,&l_2166},{&l_2167,&l_2352,&l_2020[0][4][2]}}};
                    uint8_t l_2359 = 0xFEL;
                    uint16_t **l_2364 = &g_153;
                    int i, j, k;
                    l_2359++;
                    (*g_189) = (((safe_mul_func_int16_t_s_s((p_16 , ((l_2364 != (void*)0) == 0x7874L)), (*l_2045))) , ((*g_1673) != l_2365)) == (1UL || (safe_mod_func_uint8_t_u_u((((l_2356 <= p_15) || 0x34661305BF94DFDELL) && l_2368[5][5][0]), (-1L)))));
                    (*l_1791) = (*g_2046);
                    if (((*p_19) = (safe_rshift_func_uint16_t_u_s((((((p_17 && p_16) < (0xBEL >= (p_16 && 4L))) & l_2371[1]) , ((0x6B7EL ^ ((safe_unary_minus_func_int64_t_s(((((**g_2216) == (void*)0) < p_15) , p_15))) >= (*g_967))) <= l_2352)) == 0L), 7))))
                    { /* block id: 1098 */
                        uint8_t *l_2383 = &l_1779;
                        uint8_t *l_2384 = &l_2359;
                        uint8_t *l_2386 = (void*)0;
                        uint8_t *l_2387 = &g_2388;
                        (*****l_2379) &= ((safe_div_func_uint16_t_u_u(p_16, ((((**l_2349) = (void*)0) == (*g_494)) || p_16))) != ((((safe_sub_func_int32_t_s_s((*p_19), (*p_18))) || ((((((**l_1791) > ((*l_2387) = ((((g_2385 = ((*l_2384) = ((*l_2383) |= ((**g_2313) && ((l_2379 != l_2382) || p_17))))) ^ 1L) | p_17) > (*p_19)))) <= (*p_18)) > (*l_1790)) != p_15) > 0UL)) | (**g_2313)) < p_16));
                        (****l_2379) = (**l_2381);
                    }
                    else
                    { /* block id: 1106 */
                        (***l_2381) = (p_15 & (***g_1673));
                    }
                }
                else
                { /* block id: 1109 */
                    int32_t *l_2389 = &g_56;
                    if ((**g_501))
                    { /* block id: 1110 */
                        (*p_19) = 0x384CCD53L;
                    }
                    else
                    { /* block id: 1112 */
                        return l_2389;
                    }
                    if ((****l_2380))
                        break;
                }
                (*l_1791) = (((*****l_2379) = l_2358) , ((****l_2379) = (void*)0));
                return (*l_1791);
            }
            --l_2395[5][1][1];
            (****l_2380) = ((*l_2231) != (void*)0);
        }
    }
    return p_19;
}


/* ------------------------------------------ */
/* 
 * reads : g_153 g_564 g_71 g_50 g_501 g_189 g_26 g_1130 g_250 g_1099 g_129 g_150 g_233 g_63 g_182 g_57 g_294 g_967 g_968 g_111 g_55 g_56 g_925 g_127 g_1198 g_1200 g_1409 g_888 g_889 g_364 g_389 g_1410 g_164 g_1101 g_431 g_1451 g_1355 g_895.f0 g_434 g_356 g_364.f0 g_1501 g_1027 g_1695 g_1696 g_261
 * writes: g_111 g_127 g_123 g_164 g_250 g_233 g_50 g_26 g_1130 g_129 g_261 g_71 g_1198 g_389 g_212 g_113 g_1434 g_434 g_431 g_150 g_1451.f0 g_1695 g_1762
 */
static int32_t  func_22(int32_t * const  p_23, int32_t * p_24)
{ /* block id: 543 */
    int16_t l_1110 = (-1L);
    uint8_t *l_1122 = (void*)0;
    int32_t l_1128 = (-5L);
    int32_t l_1129[5][4] = {{0xDEC7F02BL,0xDEC7F02BL,0L,0x3DA1B5BFL},{0x3DA1B5BFL,(-1L),0L,(-1L)},{0xDEC7F02BL,(-1L),0x49F46987L,0L},{(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),0xDEC7F02BL,0x3DA1B5BFL}};
    int64_t *l_1131 = &g_127;
    int8_t *l_1132 = &g_123;
    int8_t *l_1133 = &g_164;
    uint32_t *l_1134 = &g_250;
    uint32_t l_1135 = 0x0FB8CBB6L;
    int32_t *l_1136 = &g_233;
    int32_t *l_1141[2];
    int8_t *l_1150 = &g_123;
    const uint32_t l_1247 = 0x6006C81AL;
    int8_t **l_1281 = &l_1133;
    int8_t ***l_1280 = &l_1281;
    int32_t l_1283 = 0x6C0A7F37L;
    uint8_t **l_1411 = (void*)0;
    uint16_t **l_1520 = (void*)0;
    int64_t l_1718[9] = {(-9L),(-9L),(-1L),(-9L),(-9L),(-1L),(-9L),(-9L),(-1L)};
    union U0 **l_1742 = &g_624[0];
    const int32_t l_1770 = (-1L);
    int32_t **l_1771 = &l_1141[1];
    uint8_t l_1772[6][9] = {{0xA5L,0UL,3UL,0xC4L,0xC4L,3UL,0UL,0xA5L,1UL},{0x23L,0xDBL,3UL,0x8DL,0xDBL,254UL,0xC4L,0x23L,255UL},{0x23L,0UL,1UL,0x23L,0xA5L,255UL,0xA5L,0x23L,1UL},{0xA5L,0xA5L,0UL,0xDBL,0xD3L,255UL,0xC4L,0xA5L,1UL},{0UL,0x23L,1UL,0xDBL,0xA5L,254UL,0UL,0UL,254UL},{0xDBL,0x23L,0UL,0x23L,0xDBL,3UL,0x8DL,0xDBL,254UL}};
    int i, j;
    for (i = 0; i < 2; i++)
        l_1141[i] = &l_1129[1][1];
lbl_1139:
    (*g_189) = ((safe_add_func_int32_t_s_s((((((*l_1136) |= (((1UL && ((l_1110 , (0xA948B0A80A290A88LL && ((((l_1110 , l_1110) , (((safe_unary_minus_func_uint32_t_u(((*l_1134) &= (safe_mul_func_int16_t_s_s((safe_add_func_uint8_t_u_u((safe_mod_func_uint8_t_u_u((((safe_lshift_func_int32_t_s_u((((*l_1133) = ((*l_1132) = (((*l_1131) = (safe_add_func_uint8_t_u_u(((l_1122 != l_1122) < ((l_1129[4][0] |= ((((*g_153) = l_1110) != (safe_mul_func_int16_t_s_s((!(safe_div_func_int32_t_s_s((*g_564), (**g_501)))), 4UL))) ^ l_1128)) ^ g_1130)), 0x31L))) && l_1129[4][0]))) , l_1129[2][3]), l_1110)) <= l_1110) | (*g_189)), 5L)), l_1128)), l_1110))))) < (*g_1099)) & g_150)) == l_1135) != l_1128))) , l_1129[3][1])) | l_1110) == 0xF24D552187E59E08LL)) , &l_1122) != &g_967) , (**g_501)), g_63)) <= l_1135);
lbl_1510:
    for (g_1130 = 0; (g_1130 == 15); g_1130++)
    { /* block id: 554 */
        if (l_1135)
            goto lbl_1139;
    }
    if (l_1129[4][0])
    { /* block id: 557 */
        int32_t **l_1140 = (void*)0;
        int32_t l_1148[4] = {8L,8L,8L,8L};
        int8_t **l_1149[5][1][5] = {{{&l_1133,&l_1133,&l_1133,&l_1133,&l_1133}},{{(void*)0,&l_1132,(void*)0,&l_1132,(void*)0}},{{&l_1133,&l_1133,&l_1133,&l_1133,&l_1133}},{{(void*)0,&l_1132,(void*)0,&l_1132,(void*)0}},{{&l_1133,&l_1133,&l_1133,&l_1133,&l_1133}}};
        union U0 **l_1170 = &g_624[2];
        union U0 **l_1174 = (void*)0;
        uint32_t l_1206 = 0x17107E22L;
        uint32_t l_1230 = 0xADEFC000L;
        uint32_t *l_1234 = (void*)0;
        int16_t l_1254 = 5L;
        uint16_t *l_1267 = &g_895.f0;
        int16_t l_1315 = 0x35CAL;
        uint8_t l_1317 = 0x86L;
        int64_t l_1502 = 0x5518652F6F40FC19LL;
        uint32_t * const *l_1619[7][8] = {{(void*)0,(void*)0,(void*)0,&l_1134,&l_1234,&l_1134,(void*)0,(void*)0},{&l_1134,&l_1234,(void*)0,&l_1134,&l_1134,&l_1134,&l_1134,&l_1134},{&l_1234,&l_1234,&l_1234,&l_1234,&l_1134,&l_1234,&l_1134,&l_1234},{&l_1134,&l_1234,(void*)0,&l_1134,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,&l_1134,(void*)0,&l_1234,&l_1134},{&l_1234,&l_1134,&l_1234,&l_1134,&l_1234,&l_1234,&l_1234,&l_1234},{&l_1134,&l_1134,&l_1134,&l_1134,&l_1134,(void*)0,&l_1234,&l_1134}};
        uint32_t * const **l_1618 = &l_1619[4][2];
        uint32_t * const ***l_1617 = &l_1618;
        uint16_t l_1645 = 0x03B9L;
        int32_t l_1646 = (-1L);
        int i, j, k;
        l_1141[1] = p_24;
        if ((safe_lshift_func_uint8_t_u_s((((safe_lshift_func_int8_t_s_u((-1L), 1)) , (((safe_mul_func_uint8_t_u_u(0x7AL, l_1148[3])) , (l_1122 != (l_1150 = &g_164))) , ((~((*l_1150) = (((!l_1148[1]) , 0UL) & (g_182 , ((*g_1099) = ((l_1148[3] | l_1148[3]) == g_57)))))) , g_294[3]))) , (*g_967)), 3)))
        { /* block id: 562 */
            union U0 **l_1175 = &g_624[0];
            int32_t l_1181 = (-1L);
            int16_t l_1196[7][10][3] = {{{0L,0x5646L,0x6875L},{(-1L),(-1L),(-1L)},{(-1L),0x61AFL,1L},{(-1L),(-1L),0L},{0x4208L,0x5646L,0x61AFL},{1L,0xD760L,0xC7B9L},{0x220EL,0x5646L,0x347CL},{0xF102L,(-1L),(-1L)},{0xB899L,0x61AFL,0x872AL},{0x9365L,(-1L),(-1L)}},{{(-6L),0x5646L,0x5646L},{0x5681L,0xD760L,7L},{0x8B16L,0x5646L,0x16EFL},{(-2L),(-1L),0xD760L},{0L,0x61AFL,(-1L)},{0xEC1AL,(-1L),0L},{0xB84AL,0x5646L,0xA58DL},{(-1L),0xD760L,(-1L)},{0L,0x5646L,0x6875L},{(-1L),(-1L),(-1L)}},{{(-1L),0x61AFL,1L},{(-1L),(-1L),0L},{0x4208L,0x5646L,0x61AFL},{1L,0xD760L,0xC7B9L},{0x220EL,0x5646L,0x347CL},{0xF102L,(-1L),(-1L)},{0xB899L,0x61AFL,0x872AL},{0x9365L,(-1L),(-1L)},{(-6L),0x5646L,0x5646L},{0x5681L,0xD760L,7L}},{{0x8B16L,0x5646L,0x16EFL},{(-2L),(-1L),0xD760L},{0L,0x61AFL,(-1L)},{0xEC1AL,(-1L),0L},{0xB84AL,0x5646L,0xA58DL},{(-1L),0xD760L,(-1L)},{0L,0x5646L,0x6875L},{(-1L),(-1L),(-1L)},{(-1L),0x61AFL,1L},{(-1L),(-1L),0L}},{{0x4208L,0x5646L,0x61AFL},{1L,0xD760L,0x84C7L},{0x872AL,7L,6L},{(-1L),0L,0x3E94L},{0x16EFL,(-1L),0xFDA4L},{0xC7B9L,0L,1L},{0xA58DL,7L,7L},{(-1L),0xE47AL,(-1L)},{1L,7L,0x0380L},{0xD760L,0L,0xE47AL}},{{0x347CL,(-1L),1L},{(-1L),0L,(-3L)},{0x5646L,7L,(-1L)},{0L,0xE47AL,0x9481L},{(-1L),7L,0xB79BL},{(-1L),0L,0L},{0x6875L,(-1L),7L},{7L,0L,0x014CL},{0x61AFL,7L,(-1L)},{0L,0xE47AL,0x84C7L}},{{0x872AL,7L,6L},{(-1L),0L,0x3E94L},{0x16EFL,(-1L),0xFDA4L},{0xC7B9L,0L,1L},{0xA58DL,7L,7L},{(-1L),0xE47AL,(-1L)},{1L,7L,0x0380L},{0xD760L,0L,0xE47AL},{0x347CL,(-1L),1L},{(-1L),0L,(-3L)}}};
            uint32_t l_1203[4][4];
            const uint8_t *l_1228 = &g_1229;
            const uint8_t **l_1227 = &l_1228;
            int32_t l_1237 = (-1L);
            uint16_t l_1284 = 1UL;
            int16_t l_1302 = (-3L);
            int16_t l_1316 = 0x111FL;
            int32_t *l_1353 = &g_56;
            int i, j, k;
            for (i = 0; i < 4; i++)
            {
                for (j = 0; j < 4; j++)
                    l_1203[i][j] = 0xC433D0E4L;
            }
            for (g_261 = 0; (g_261 >= 60); ++g_261)
            { /* block id: 565 */
                int32_t l_1161 = (-7L);
                union U0 ***l_1171 = &l_1170;
                union U0 **l_1173 = &g_624[0];
                union U0 ***l_1172 = &l_1173;
                const int8_t l_1180 = 0x76L;
                int32_t l_1195 = (-1L);
                if (((l_1148[3] = (safe_rshift_func_int32_t_s_s(((*g_153) == (*g_153)), ((safe_sub_func_uint64_t_u_u(((safe_rshift_func_uint32_t_u_u(l_1161, (safe_mul_func_uint32_t_u_u(4294967289UL, (safe_mod_func_uint64_t_u_u((0x4FL || (safe_lshift_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_u(((l_1174 = ((*l_1172) = ((*l_1171) = l_1170))) != l_1175), (safe_lshift_func_int32_t_s_s(((*g_564) ^= (((*l_1134)--) >= (8L > (*g_967)))), l_1180)))), l_1181))), 0x152D42E00C33F74CLL)))))) , (*g_1099)), 0L)) != l_1181)))) ^ 4294967287UL))
                { /* block id: 572 */
                    return (*g_55);
                }
                else
                { /* block id: 574 */
                    int16_t l_1182[2];
                    int32_t **l_1197 = &l_1141[1];
                    int i;
                    for (i = 0; i < 2; i++)
                        l_1182[i] = 9L;
                    (*g_564) |= l_1182[1];
                    (*l_1197) = func_45((((safe_rshift_func_int16_t_s_u((((safe_sub_func_int32_t_s_s((safe_add_func_uint8_t_u_u((((safe_mul_func_uint16_t_u_u((0x5FL && (g_925 , l_1181)), 0xAB83L)) < l_1180) , (((*l_1136) = (safe_mod_func_int16_t_s_s((safe_mul_func_int32_t_s_s((0x6FL > ((p_24 != (((*g_1099) ^ ((l_1180 || 2UL) || 0x1692L)) , p_23)) > (*g_967))), 4294967286UL)), l_1180))) , (*g_967))), 0xE6L)), l_1195)) || 0x98L) < l_1148[1]), l_1196[6][2][0])) || l_1182[1]) == l_1182[1]), p_24, p_24);
                    for (g_127 = 0; (g_127 <= 3); g_127 += 1)
                    { /* block id: 580 */
                        int i;
                        return l_1148[g_127];
                    }
                    if (l_1196[6][2][0])
                        break;
                }
            }
            (*g_1200) = g_1198;
            for (g_250 = 0; (g_250 != 16); g_250 = safe_add_func_int8_t_s_s(g_250, 8))
            { /* block id: 589 */
                uint8_t *l_1216 = &g_389;
                int32_t l_1217 = 2L;
                const int32_t l_1220 = (-1L);
                uint32_t *l_1233 = (void*)0;
                int32_t l_1256[6] = {0xFBDE8109L,0xFBDE8109L,0xFBDE8109L,0xFBDE8109L,0xFBDE8109L,0xFBDE8109L};
                int32_t l_1272 = 0xA9ED5C23L;
                int16_t ** const *l_1279[6] = {&g_334,&g_334,&g_334,&g_334,&g_334,&g_334};
                int16_t ** const **l_1278 = &l_1279[5];
                int16_t ** const ***l_1277 = &l_1278;
                const union U0 *l_1293 = (void*)0;
                const union U0 **l_1292[10];
                uint32_t *l_1300 = (void*)0;
                uint32_t *l_1301[9] = {&g_434,(void*)0,(void*)0,&g_434,(void*)0,(void*)0,&g_434,(void*)0,(void*)0};
                const int8_t *l_1360 = (void*)0;
                const int8_t **l_1359 = &l_1360;
                const int8_t ***l_1358 = &l_1359;
                int i;
                for (i = 0; i < 10; i++)
                    l_1292[i] = &l_1293;
                l_1203[0][0]--;
            }
        }
        else
        { /* block id: 686 */
            const uint8_t *l_1413 = &l_1317;
            const uint8_t **l_1412 = &l_1413;
            int32_t l_1447[6][10][4] = {{{6L,0x30BD76A9L,(-1L),(-1L)},{6L,6L,0x78D14112L,(-1L)},{(-4L),(-1L),6L,0x75474560L},{0x30BD76A9L,0x8CFF70E5L,0L,6L},{2L,0x8CFF70E5L,2L,0x75474560L},{0x8CFF70E5L,(-1L),0x2FECFF1DL,(-1L)},{(-1L),6L,0x30BD76A9L,(-1L)},{0x12EF0738L,0x30BD76A9L,0x30BD76A9L,0x12EF0738L},{(-1L),0x75474560L,0x2FECFF1DL,2L},{0x8CFF70E5L,(-8L),2L,0x78D14112L}},{{2L,0x78D14112L,0L,0x78D14112L},{0x30BD76A9L,(-8L),6L,2L},{(-4L),0x75474560L,0x78D14112L,0x12EF0738L},{6L,0x30BD76A9L,(-1L),(-1L)},{6L,6L,0x78D14112L,(-1L)},{(-4L),(-1L),6L,0x75474560L},{0x30BD76A9L,0x8CFF70E5L,0L,6L},{2L,0x8CFF70E5L,2L,0x75474560L},{0x8CFF70E5L,(-1L),0x2FECFF1DL,(-1L)},{(-1L),6L,0x30BD76A9L,(-1L)}},{{0x12EF0738L,0x30BD76A9L,0x30BD76A9L,0x12EF0738L},{(-1L),(-8L),0L,(-1L)},{(-1L),0x2FECFF1DL,(-1L),0x8CFF70E5L},{(-1L),0x8CFF70E5L,(-4L),0x8CFF70E5L},{0x12EF0738L,0x2FECFF1DL,0x78D14112L,(-1L)},{2L,(-8L),0x8CFF70E5L,6L},{0x78D14112L,0x12EF0738L,0x30BD76A9L,0x30BD76A9L},{0x78D14112L,0x78D14112L,0x8CFF70E5L,0x75474560L},{2L,0x30BD76A9L,0x78D14112L,(-8L)},{0x12EF0738L,(-1L),(-4L),0x78D14112L}},{{(-1L),(-1L),(-1L),(-8L)},{(-1L),0x30BD76A9L,0L,0x75474560L},{0x75474560L,0x78D14112L,0x12EF0738L,0x30BD76A9L},{6L,0x12EF0738L,0x12EF0738L,6L},{0x75474560L,(-8L),0L,(-1L)},{(-1L),0x2FECFF1DL,(-1L),0x8CFF70E5L},{(-1L),0x8CFF70E5L,(-4L),0x8CFF70E5L},{0x12EF0738L,0x2FECFF1DL,0x78D14112L,(-1L)},{2L,(-8L),0x8CFF70E5L,6L},{0x78D14112L,0x12EF0738L,0x30BD76A9L,0x30BD76A9L}},{{0x78D14112L,0x78D14112L,0x8CFF70E5L,0x75474560L},{2L,0x30BD76A9L,0x78D14112L,(-8L)},{0x12EF0738L,(-1L),(-4L),0x78D14112L},{(-1L),(-1L),(-1L),(-8L)},{(-1L),0x30BD76A9L,0L,0x75474560L},{0x75474560L,0x78D14112L,0x12EF0738L,0x30BD76A9L},{6L,0x12EF0738L,0x12EF0738L,6L},{0x75474560L,(-8L),0L,(-1L)},{(-1L),0x2FECFF1DL,(-1L),0x8CFF70E5L},{(-1L),0x8CFF70E5L,(-4L),0x8CFF70E5L}},{{0x12EF0738L,0x2FECFF1DL,0x78D14112L,(-1L)},{2L,(-8L),0x8CFF70E5L,6L},{0x78D14112L,0x12EF0738L,0x30BD76A9L,0x30BD76A9L},{0x78D14112L,0x78D14112L,0x8CFF70E5L,0x75474560L},{2L,0x30BD76A9L,0x78D14112L,(-8L)},{0x12EF0738L,(-1L),(-4L),0x78D14112L},{(-1L),(-1L),(-1L),(-8L)},{(-1L),0x30BD76A9L,0L,0x75474560L},{0x75474560L,0x78D14112L,0x12EF0738L,0x30BD76A9L},{6L,0x12EF0738L,0x12EF0738L,6L}}};
            uint64_t l_1448[2];
            uint32_t l_1475[4][10][4] = {{{0x166497DFL,0x3478912EL,1UL,0x166497DFL},{7UL,1UL,1UL,0x09952EF7L},{0x166497DFL,18446744073709551615UL,0x9B72500DL,1UL},{1UL,1UL,0UL,0xEC476FD4L},{0UL,0xEC476FD4L,0x09952EF7L,0x09952EF7L},{2UL,2UL,0x1AB00DE9L,0x1330787BL},{1UL,0x3478912EL,0xD02636B3L,18446744073709551615UL},{0UL,0x1330787BL,1UL,0xD02636B3L},{0xEC476FD4L,0x1330787BL,0x9B72500DL,0UL},{0x3478912EL,0x5615B53AL,0x1AB00DE9L,0x3478912EL}},{{0xEE9C2C30L,1UL,0x5615B53AL,0xEE97DA49L},{0UL,0x92DBE389L,18446744073709551615UL,0x92DBE389L},{0x09952EF7L,0x9B72500DL,0xEE9C2C30L,0xD02636B3L},{18446744073709551614UL,0x09952EF7L,0x5E6B7ABFL,0xEE97DA49L},{0UL,7UL,1UL,1UL},{0UL,0x5615B53AL,0x5E6B7ABFL,1UL},{18446744073709551614UL,1UL,0xEE9C2C30L,0x344BEBA1L},{0x09952EF7L,0UL,18446744073709551615UL,7UL},{0UL,0x5615B53AL,0x5615B53AL,0UL},{0xEE9C2C30L,0UL,0x1AB00DE9L,0xEE97DA49L}},{{0x3478912EL,0xD02636B3L,18446744073709551615UL,0x09952EF7L},{0x92DBE389L,0x9B72500DL,0x7C0959E7L,0x09952EF7L},{18446744073709551614UL,0xD02636B3L,0x344BEBA1L,0xEE97DA49L},{7UL,0UL,1UL,0UL},{1UL,0x5615B53AL,0xEE97DA49L,7UL},{18446744073709551614UL,0UL,18446744073709551614UL,0x344BEBA1L},{0xD02636B3L,1UL,18446744073709551615UL,1UL},{1UL,0x5615B53AL,0x9B72500DL,1UL},{0xEE9C2C30L,7UL,0x9B72500DL,0xEE97DA49L},{1UL,0x09952EF7L,18446744073709551615UL,0xD02636B3L}},{{0xD02636B3L,0x9B72500DL,18446744073709551614UL,0x92DBE389L},{18446744073709551614UL,0x92DBE389L,0xEE97DA49L,0xEE97DA49L},{1UL,1UL,1UL,0x3478912EL},{7UL,0x5615B53AL,0x344BEBA1L,0UL},{18446744073709551614UL,0x3478912EL,0x7C0959E7L,0x344BEBA1L},{0x92DBE389L,0x3478912EL,18446744073709551615UL,0UL},{0x3478912EL,0x5615B53AL,0x1AB00DE9L,0x3478912EL},{0xEE9C2C30L,1UL,0x5615B53AL,0xEE97DA49L},{0UL,0x92DBE389L,18446744073709551615UL,0x92DBE389L},{0x09952EF7L,0x9B72500DL,0xEE9C2C30L,0xD02636B3L}}};
            int32_t l_1477 = 0x8CE32F6AL;
            int8_t l_1719 = 0x7EL;
            const int32_t l_1739 = 0xC02D6C6FL;
            int i, j, k;
            for (i = 0; i < 2; i++)
                l_1448[i] = 0xE8EBC0DE92596E95LL;
            for (g_389 = 20; (g_389 > 30); g_389++)
            { /* block id: 689 */
                int64_t l_1406[9] = {0x2A9842E39776C7C9LL,5L,0x2A9842E39776C7C9LL,0x2A9842E39776C7C9LL,5L,0x2A9842E39776C7C9LL,0x2A9842E39776C7C9LL,5L,0x2A9842E39776C7C9LL};
                uint64_t l_1445 = 0x70F178DBEA272530LL;
                int32_t l_1478[9] = {0x0DAAA92FL,0L,0x0DAAA92FL,0x0DAAA92FL,0L,0x0DAAA92FL,0x0DAAA92FL,0L,0x0DAAA92FL};
                uint32_t *l_1500 = &g_434;
                int i;
                if (l_1406[8])
                { /* block id: 690 */
                    for (g_212 = 0; g_212 < 2; g_212 += 1)
                    {
                        g_113[g_212] = 0xE24BL;
                    }
                }
                else
                { /* block id: 692 */
                    const uint8_t ***l_1414 = &l_1412;
                    const uint8_t **l_1416 = (void*)0;
                    const uint8_t ***l_1415 = &l_1416;
                    int32_t l_1421 = (-1L);
                    int16_t ****l_1432 = &g_671;
                    int16_t *****l_1433[8] = {&l_1432,&l_1432,&l_1432,&l_1432,&l_1432,&l_1432,&l_1432,&l_1432};
                    int8_t l_1446[10][6] = {{0xC6L,0xC6L,(-10L),0xDEL,(-10L),0xC6L},{(-10L),(-1L),0xDEL,0xDEL,(-1L),(-10L)},{0xC6L,(-10L),0xDEL,(-10L),0xC6L,0xC6L},{0xABL,(-10L),(-10L),0xABL,(-1L),0xABL},{0xABL,(-1L),0xABL,(-10L),(-10L),0xABL},{0xC6L,0xC6L,(-10L),0xDEL,(-10L),0xC6L},{(-10L),(-1L),0xDEL,0xDEL,0xC6L,0xABL},{(-10L),0xABL,(-1L),0xABL,(-10L),(-10L)},{0xDEL,0xABL,0xABL,0xDEL,0xC6L,0xDEL},{0xDEL,0xC6L,0xDEL,0xABL,0xABL,0xDEL}};
                    int32_t l_1479 = 0L;
                    uint32_t l_1481 = 0xBD243CDFL;
                    int i, j;
                    (*g_189) = (((safe_lshift_func_uint64_t_u_s(((((((l_1411 = g_1409) != ((*l_1415) = ((*l_1414) = l_1412))) <= (--(*l_1134))) > ((safe_mul_func_uint64_t_u_u((l_1421 ^ (((((safe_mod_func_uint32_t_u_u((safe_rshift_func_uint8_t_u_s(((((((((safe_div_func_uint16_t_u_u((((safe_lshift_func_uint8_t_u_s(((safe_mod_func_uint64_t_u_u(((*g_888) != (g_1434 = (l_1406[3] , l_1432))), ((*l_1131) = (safe_lshift_func_int16_t_s_u((safe_rshift_func_int64_t_s_u((safe_div_func_uint8_t_u_u(l_1421, (safe_add_func_int32_t_s_s((((*g_153) = (safe_add_func_uint64_t_u_u(l_1445, l_1421))) == l_1406[1]), 0xA3BC2A77L)))), l_1406[8])), l_1446[7][0]))))) || (-1L)), l_1148[0])) != l_1447[0][5][2]) == l_1448[0]), l_1445)) != (*g_1099)) || 0UL) || l_1406[2]) | l_1254) , g_364[1]) , l_1148[3]) , l_1447[0][5][2]), g_389)), g_56)) | (**g_1409)) <= 5UL) > g_164) , l_1447[0][5][2])), 0xFC81A1DFC4007971LL)) && l_1446[7][1])) & 0xB7E3L) | (*g_1101)), 48)) | 0UL) & l_1447[2][1][3]);
                    for (l_1128 = 0; (l_1128 >= (-1)); l_1128--)
                    { /* block id: 703 */
                        int32_t l_1474 = 5L;
                        int32_t *l_1476 = &l_1474;
                        int32_t l_1480[2][4][5];
                        int i, j, k;
                        for (i = 0; i < 2; i++)
                        {
                            for (j = 0; j < 4; j++)
                            {
                                for (k = 0; k < 5; k++)
                                    l_1480[i][j][k] = 0x609FB270L;
                            }
                        }
                        l_1477 |= (g_1451 , (safe_div_func_int8_t_s_s(((l_1476 = func_45(((**g_1355) & (safe_div_func_uint32_t_u_u((l_1448[0] , (safe_rshift_func_uint8_t_u_s(((((safe_sub_func_uint16_t_u_u((l_1406[4] && (((safe_add_func_int64_t_s_s((safe_add_func_uint8_t_u_u(((safe_rshift_func_int32_t_s_s((safe_mul_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_s((safe_add_func_uint32_t_u_u(l_1421, ((void*)0 == &g_1198))), 7)), (safe_mul_func_uint32_t_u_u(l_1474, (0xEFD364A3L <= l_1406[8]))))), (*g_564))) > l_1475[2][9][0]), l_1447[0][3][2])), (*g_1101))) & l_1474) & l_1475[2][9][0])), l_1474)) != l_1448[0]) || 0x8C52733BL) ^ l_1474), g_895.f0))), l_1446[8][3]))), &l_1421, p_24)) != &g_50), l_1445)));
                        ++l_1481;
                        if ((**g_501))
                            continue;
                    }
                }
                (*g_189) = (l_1478[6] = (safe_mul_func_int8_t_s_s(l_1475[2][9][0], (safe_div_func_int32_t_s_s((safe_mod_func_uint64_t_u_u((l_1406[8] && ((safe_add_func_uint16_t_u_u(((((*g_1101) = (safe_mod_func_uint16_t_u_u(((((*l_1412) == (((safe_mul_func_int8_t_s_s(0x6BL, ((0UL != 1L) && ((((g_26 , (safe_lshift_func_uint32_t_u_s(((*l_1500) = ((*l_1134) = (((((((++(*g_1099)) , (void*)0) != (*g_501)) || l_1406[1]) , (void*)0) != p_24) <= g_434))), 15))) | l_1447[0][5][2]) , (**g_356)) && 0UL)))) > g_364[1].f0) , (*l_1412))) | g_1501) | l_1406[0]), l_1502))) , (*g_1101)) == 0L), 0xF715L)) != l_1448[1])), l_1445)), (*g_564))))));
            }
            for (g_150 = 19; (g_150 > 2); g_150--)
            { /* block id: 719 */
                uint64_t l_1505[10][1][3] = {{{0xA513D7D8F31774C0LL,0xA513D7D8F31774C0LL,0UL}},{{0UL,0UL,0UL}},{{0UL,6UL,1UL}},{{0UL,6UL,0UL}},{{0xA513D7D8F31774C0LL,0UL,1UL}},{{0xA513D7D8F31774C0LL,0xA513D7D8F31774C0LL,0UL}},{{0UL,0UL,0UL}},{{0UL,6UL,1UL}},{{0UL,6UL,0UL}},{{0xA513D7D8F31774C0LL,0UL,1UL}}};
                int32_t l_1512[10] = {(-8L),(-8L),0L,0x065A6FA8L,0L,(-8L),(-8L),0L,0x065A6FA8L,0L};
                int32_t ***l_1556 = &g_561;
                int8_t *l_1582 = &g_123;
                uint32_t ****l_1613 = (void*)0;
                uint32_t l_1622 = 0xE4BD7394L;
                uint32_t l_1683[5][3][1];
                uint16_t **l_1692 = &g_153;
                int i, j, k;
                for (i = 0; i < 5; i++)
                {
                    for (j = 0; j < 3; j++)
                    {
                        for (k = 0; k < 1; k++)
                            l_1683[i][j][k] = 0x710E3AE6L;
                    }
                }
                --l_1505[2][0][1];
                for (g_261 = 0; (g_261 > 3); g_261 = safe_add_func_int32_t_s_s(g_261, 2))
                { /* block id: 723 */
                    if (g_127)
                        goto lbl_1510;
                    l_1512[3] |= (safe_unary_minus_func_int32_t_s((l_1447[5][2][0] = (**g_1027))));
                    (*g_189) ^= 0xA58BE7F1L;
                }
            }
            (*g_189) = (safe_lshift_func_int8_t_s_s((((void*)0 != &l_1411) < ((void*)0 == l_1742)), 0));
        }
    }
    else
    { /* block id: 800 */
        const uint32_t l_1744 = 0xAAAB185BL;
        int32_t l_1751 = 0L;
        uint16_t ***l_1761[10];
        uint32_t l_1769 = 0x8C4163AAL;
        int i;
        for (i = 0; i < 10; i++)
            l_1761[i] = &l_1520;
        (*g_189) = (((**g_1695) = 0xCE58L) == ((*g_153) = (!((((-1L) | l_1744) < (safe_add_func_uint32_t_u_u(l_1744, l_1744))) > (safe_mod_func_int32_t_s_s(9L, (safe_div_func_uint8_t_u_u((((l_1751 = (**g_1355)) , (((**g_356) == (((safe_mod_func_int64_t_s_s(0L, 0x19FAE2866F19F05CLL)) < (*g_1101)) == 1L)) != (**g_1409))) || (*g_1099)), l_1744))))))));
        l_1751 = ((*g_564) &= 0x0366E4B8L);
        l_1751 = ((safe_unary_minus_func_uint16_t_u(((safe_sub_func_int16_t_s_s((-7L), ((g_1451 , (safe_lshift_func_int16_t_s_u(l_1744, ((safe_mul_func_uint16_t_u_u((((((l_1520 = (g_1695 = &g_153)) != (g_1762 = &g_1696[2])) != l_1744) | ((((((safe_add_func_uint64_t_u_u(l_1744, (safe_add_func_int32_t_s_s((l_1751 || (safe_mul_func_uint16_t_u_u(1UL, l_1769))), 1L)))) | (**g_1409)) && 6UL) , l_1770) <= l_1751) , l_1769)) > 0xFC34DD779508C0F1LL), (*g_153))) <= l_1751)))) , 0x8E49L))) <= l_1744))) | l_1769);
        return l_1751;
    }
    (*l_1771) = &l_1129[3][2];
    return l_1772[0][2];
}


/* ------------------------------------------ */
/* 
 * reads : g_1085 g_564 g_56 g_389 g_888 g_889 g_671 g_501 g_189 g_50 g_26
 * writes: g_250 g_71 g_50 g_56 g_389 g_1099 g_1101 g_26
 */
static uint32_t  func_27(uint32_t  p_28, int32_t  p_29, int64_t  p_30, int32_t  p_31)
{ /* block id: 529 */
    uint32_t *l_1080 = &g_250;
    int32_t l_1083[3][10] = {{0x7B282D4EL,1L,0x7B282D4EL,0x7B282D4EL,1L,0x7B282D4EL,0x7B282D4EL,1L,0x7B282D4EL,0x7B282D4EL},{1L,1L,0x455C4A45L,1L,1L,0x455C4A45L,1L,1L,0x455C4A45L,1L},{1L,0x7B282D4EL,0x7B282D4EL,1L,0x7B282D4EL,0x7B282D4EL,1L,0x7B282D4EL,0x7B282D4EL,1L}};
    int32_t l_1084 = 0x357BF926L;
    uint8_t l_1086 = 0x10L;
    int32_t *l_1087 = &g_56;
    uint64_t *l_1097 = &g_129;
    uint64_t **l_1098[10] = {&l_1097,&l_1097,&l_1097,&l_1097,&l_1097,&l_1097,&l_1097,&l_1097,&l_1097,&l_1097};
    uint64_t *l_1100 = &g_431;
    const uint16_t *l_1102 = &g_113[1];
    int32_t l_1107 = 0xB606722EL;
    int i, j;
    (*l_1087) &= ((*g_564) = (((*l_1080) = 0x37876ED5L) & (safe_sub_func_uint16_t_u_u(l_1083[2][9], ((l_1084 = (p_28 == l_1083[0][3])) , (g_1085 , l_1086))))));
    for (g_389 = 0; (g_389 > 17); g_389 = safe_add_func_int8_t_s_s(g_389, 3))
    { /* block id: 536 */
        uint16_t l_1094 = 1UL;
        l_1094 = ((safe_rshift_func_int64_t_s_u((*l_1087), 9)) == (p_31 >= ((void*)0 == &l_1084)));
    }
    (*g_189) = ((*l_1087) <= (safe_sub_func_uint32_t_u_u(((((3L && ((**g_888) != (void*)0)) != (((((g_1099 = l_1097) == (g_1101 = l_1100)) & ((l_1102 != l_1102) & ((safe_add_func_uint16_t_u_u((safe_lshift_func_int32_t_s_s((**g_501), 30)), (*l_1087))) , l_1107))) < 0x6076EE64274BE1F0LL) >= 0UL)) <= (*g_189)) & (*l_1087)), 0x6DCF753EL)));
    return p_29;
}


/* ------------------------------------------ */
/* 
 * reads : g_548 g_189 g_1027 g_26
 * writes: g_189 g_26
 */
static int64_t  func_33(int32_t * p_34, uint32_t  p_35, uint8_t  p_36, uint16_t  p_37, int16_t  p_38)
{ /* block id: 496 */
    int32_t **l_1026 = (void*)0;
    int32_t l_1059 = (-9L);
    uint16_t l_1061 = 1UL;
    (*g_1027) = (*g_548);
    for (g_26 = 0; (g_26 > 14); g_26 = safe_add_func_int16_t_s_s(g_26, 3))
    { /* block id: 500 */
        const uint32_t *l_1042 = &g_281;
        int8_t *l_1043 = &g_123;
        uint8_t *l_1044 = (void*)0;
        uint8_t *l_1045 = &g_389;
        int32_t l_1046[4];
        uint64_t *l_1047 = &g_431;
        uint32_t l_1048 = 0x45DF5A1BL;
        uint64_t l_1049 = 0x8F67E519F41D0D3ELL;
        int64_t *l_1050 = &g_127;
        int i;
        for (i = 0; i < 4; i++)
            l_1046[i] = 0x67BFBEE2L;
    }
    return p_38;
}


/* ------------------------------------------ */
/* 
 * reads : g_356 g_56 g_212 g_261 g_153 g_111 g_55 g_364 g_367 g_113 g_189 g_26 g_50 g_364.f0 g_250 g_63 g_150 g_367.f0 g_123 g_129 g_281 g_434 g_164 g_431 g_494 g_293 g_501 g_504 g_507 g_508 g_389 g_127 g_547 g_548 g_561 g_623 g_246 g_490 g_564 g_71 g_233 g_182 g_315 g_65 g_294.f0 g_753 g_624 g_848 g_888 g_895 g_925 g_966 g_968 g_507.f0
 * writes: g_189 g_50 g_261 g_56 g_26 g_123 g_389 g_127 g_150 g_367.f0 g_431 g_465 g_164 g_504 g_250 g_490 g_111 g_561 g_564 g_624 g_294.f0 g_671 g_71 g_129 g_246 g_113 g_281 g_434 g_887
 */
static int8_t  func_41(int32_t * p_42, uint32_t  p_43, int32_t * p_44)
{ /* block id: 201 */
    int8_t l_355 = 0x92L;
    int32_t *l_371[5][7][2] = {{{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50}},{{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50}},{{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56}},{{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50}},{{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50},{&g_50,&g_56},{&g_50,&g_50},{&g_56,&g_50}}};
    const uint32_t l_381 = 0x04651591L;
    uint8_t *l_413 = (void*)0;
    int64_t *l_463 = (void*)0;
    int16_t l_491 = (-2L);
    int8_t l_502 = 0x26L;
    int32_t l_503 = 0x108E25D2L;
    uint64_t l_526 = 0x1FB8C1EB45D0DB4ELL;
    int8_t l_591 = 1L;
    int32_t l_595 = 0xB4CA94F4L;
    uint16_t *l_605 = &g_294[0].f0;
    int32_t l_632 = 0xD69A6705L;
    int16_t *** const *l_737 = (void*)0;
    int16_t ****l_739 = &g_671;
    const uint16_t l_853 = 3UL;
    uint32_t l_917 = 4294967292UL;
    uint32_t *l_1000 = &g_261;
    uint32_t *l_1023 = &g_250;
    int i, j, k;
    if ((safe_sub_func_int32_t_s_s(l_355, 0x4507E344L)))
    { /* block id: 202 */
        uint16_t *l_361[9][10] = {{&g_150,(void*)0,(void*)0,&g_150,(void*)0,(void*)0,&g_113[0],(void*)0,(void*)0,&g_113[0]},{&g_113[0],&g_150,&g_150,&g_150,&g_150,&g_113[0],&g_111[0],(void*)0,(void*)0,&g_294[0].f0},{&g_113[0],(void*)0,(void*)0,&g_113[0],&g_294[0].f0,&g_294[0].f0,(void*)0,&g_294[0].f0,&g_294[0].f0,&g_113[0]},{&g_113[0],&g_294[0].f0,&g_113[0],&g_150,&g_111[0],(void*)0,&g_113[0],&g_150,(void*)0,&g_111[0]},{(void*)0,&g_113[0],&g_150,(void*)0,&g_111[0],&g_111[0],(void*)0,&g_150,&g_113[0],(void*)0},{(void*)0,&g_111[0],&g_113[0],(void*)0,(void*)0,&g_113[0],&g_294[0].f0,&g_294[0].f0,(void*)0,&g_294[0].f0},{&g_150,&g_113[0],(void*)0,&g_111[0],(void*)0,&g_113[0],&g_150,&g_111[0],(void*)0,(void*)0},{(void*)0,&g_294[0].f0,&g_294[0].f0,&g_150,&g_111[0],&g_111[0],(void*)0,(void*)0,&g_111[0],&g_111[0]},{(void*)0,&g_294[0].f0,&g_294[0].f0,(void*)0,&g_111[0],(void*)0,&g_150,(void*)0,(void*)0,&g_113[0]}};
        int32_t l_375 = 0x1DDF2FB8L;
        int32_t l_377 = 0x3DEE7B1DL;
        int64_t l_380 = 0L;
        uint8_t *l_414 = &g_389;
        int i, j;
        (*g_356) = &g_26;
        (*p_42) = ((*p_44) || g_212);
        for (g_261 = 0; (g_261 < 39); g_261 = safe_add_func_uint64_t_u_u(g_261, 9))
        { /* block id: 207 */
            int8_t *l_368[5] = {&l_355,&l_355,&l_355,&l_355,&l_355};
            int32_t l_374 = (-1L);
            int32_t l_404 = 0x4195F14FL;
            int32_t l_405 = 0x4301B969L;
            int i;
            (*g_55) ^= (safe_mul_func_uint32_t_u_u(p_43, ((*g_153) , (l_361[3][1] != (void*)0))));
            for (l_355 = 0; (l_355 < (-3)); --l_355)
            { /* block id: 211 */
                uint32_t *l_376[2][6] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
                int32_t l_378 = (-6L);
                const uint16_t *l_379 = &g_364[1].f0;
                int i, j;
                (*p_44) = (g_364[1] , ((l_380 = ((((&g_150 != (((((((safe_add_func_int32_t_s_s(((g_367 , l_368[4]) != &g_123), (g_113[0] > (safe_mod_func_uint32_t_u_u(((l_377 &= (((l_371[2][5][0] == p_42) && (safe_rshift_func_int32_t_s_u(l_374, l_375))) != (*g_189))) ^ (*g_189)), l_375))))) != l_378) == p_43) || 0xB9L) != (*p_42)) ^ p_43) , l_379)) < 4294967295UL) , g_364[1].f0) | 0x85L)) | l_381));
                (*p_42) = (*p_42);
                for (g_26 = (-25); (g_26 > (-8)); g_26++)
                { /* block id: 218 */
                    uint16_t l_396 = 8UL;
                    int32_t l_397 = 9L;
                    for (g_123 = 0; (g_123 != 9); g_123 = safe_add_func_int32_t_s_s(g_123, 9))
                    { /* block id: 221 */
                        uint8_t *l_388 = &g_389;
                        uint32_t **l_394 = &l_376[0][3];
                        int64_t *l_395[2][7] = {{(void*)0,&l_380,(void*)0,&l_380,(void*)0,&l_380,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
                        int32_t **l_398 = &l_371[2][5][0];
                        int i, j;
                        (*l_398) = func_45((g_250 && ((safe_mul_func_int64_t_s_s(((((*l_388) = 247UL) & (safe_mod_func_int8_t_s_s((((*l_398) = ((safe_mod_func_uint16_t_u_u(((g_63 | ((l_374 &= (((*l_394) = l_371[2][5][0]) == p_42)) < (g_127 = g_250))) , (l_396 ^= (&g_25[6][6] != &p_42))), l_397)) , (void*)0)) == (*g_356)), 0x7FL))) <= (*g_153)), p_43)) > 0x0CL)), &l_378, p_44);
                    }
                }
            }
            for (g_150 = 17; (g_150 <= 21); g_150 = safe_add_func_int16_t_s_s(g_150, 2))
            { /* block id: 234 */
                uint16_t l_407 = 0xCD95L;
                int32_t l_422 = (-8L);
                for (p_43 = (-21); (p_43 != 7); p_43 = safe_add_func_uint32_t_u_u(p_43, 7))
                { /* block id: 237 */
                    uint8_t **l_415 = &l_414;
                    int64_t *l_421[6][2][8] = {{{&l_380,&g_127,&g_127,(void*)0,&l_380,&l_380,&l_380,&g_127},{&g_127,&g_127,&g_127,&g_127,&l_380,&g_127,&l_380,&l_380}},{{&g_127,&g_127,&l_380,&g_127,(void*)0,&l_380,&g_127,&g_127},{&g_127,(void*)0,&g_127,&g_127,(void*)0,&g_127,(void*)0,&g_127}},{{&g_127,&g_127,&g_127,&g_127,&g_127,(void*)0,&l_380,(void*)0},{&l_380,(void*)0,(void*)0,&g_127,&l_380,(void*)0,&g_127,&g_127}},{{&g_127,&l_380,&l_380,&g_127,&g_127,&l_380,(void*)0,&g_127},{&l_380,&l_380,&g_127,&g_127,&l_380,&g_127,(void*)0,&l_380}},{{&l_380,&g_127,&g_127,&g_127,&g_127,&g_127,&l_380,&g_127},{&g_127,(void*)0,&l_380,(void*)0,&g_127,&l_380,&g_127,&g_127}},{{&g_127,&g_127,&g_127,&g_127,&g_127,&l_380,&g_127,&g_127},{&g_127,&g_127,(void*)0,&g_127,&l_380,&l_380,&g_127,&g_127}}};
                    int i, j, k;
                    for (g_367.f0 = 0; (g_367.f0 <= 1); g_367.f0 += 1)
                    { /* block id: 240 */
                        int32_t l_403 = (-9L);
                        int32_t l_406 = 0xE88CBD1CL;
                        int32_t l_410 = 0x1525A970L;
                        int i;
                        if (g_113[g_367.f0])
                            break;
                        if ((**g_356))
                            break;
                        --l_407;
                        if (l_410)
                            break;
                    }
                    (*p_42) = ((safe_sub_func_int32_t_s_s((l_413 == ((*l_415) = l_414)), (*p_44))) || (l_374 ^= (safe_unary_minus_func_uint16_t_u(((safe_add_func_int64_t_s_s((l_422 &= g_123), ((safe_mul_func_uint8_t_u_u(1UL, (safe_div_func_int16_t_s_s((((g_431 = ((safe_sub_func_uint16_t_u_u(l_380, (safe_add_func_uint64_t_u_u(0x2DEAE43791DF9AF5LL, (l_421[2][1][3] != (void*)0))))) || g_129)) , 6UL) | p_43), 1UL)))) ^ l_380))) || 0L)))));
                }
            }
        }
    }
    else
    { /* block id: 254 */
        int32_t l_436 = 0x4C6FC83FL;
        int32_t l_510 = 0x50736A8BL;
        int32_t *l_562 = (void*)0;
        int32_t l_583 = 0xDFB08FB3L;
        int32_t l_585 = 1L;
        int32_t l_587 = 1L;
        int32_t l_588 = 1L;
        int32_t l_589 = 0x68A967D2L;
        int32_t l_590 = 0L;
        int32_t l_593 = 3L;
        int32_t l_594 = 0xB0ACB9AFL;
        int32_t l_596[7];
        uint8_t **l_608 = &l_413;
        int16_t ***l_619 = &g_334;
        int64_t l_645 = 0x89B6FF4D0E6371E9LL;
        uint16_t *l_664 = &g_113[0];
        int16_t ***l_670[5][6][8] = {{{&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,(void*)0,&g_334},{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,(void*)0,(void*)0},{&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334},{(void*)0,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334,(void*)0},{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334}},{{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{(void*)0,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{(void*)0,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334}},{{(void*)0,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,(void*)0},{(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334},{(void*)0,(void*)0,&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334}},{{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{(void*)0,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334},{(void*)0,&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334}},{{&g_334,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334,&g_334},{&g_334,(void*)0,&g_334,(void*)0,&g_334,&g_334,(void*)0,&g_334},{(void*)0,(void*)0,&g_334,&g_334,&g_334,&g_334,&g_334,(void*)0},{&g_334,&g_334,&g_334,&g_334,&g_334,(void*)0,(void*)0,&g_334},{&g_334,&g_334,&g_334,&g_334,(void*)0,&g_334,&g_334,&g_334}}};
        uint64_t *l_688 = &l_526;
        int32_t l_719 = 0L;
        const int8_t *l_828 = &l_591;
        const int8_t **l_827 = &l_828;
        const uint16_t **l_886[4];
        int32_t l_903[2];
        int8_t l_921 = 7L;
        uint16_t l_922 = 0xDA28L;
        int64_t **l_926 = (void*)0;
        const uint16_t l_945 = 0x16DAL;
        int i, j, k;
        for (i = 0; i < 7; i++)
            l_596[i] = 0x36BF726CL;
        for (i = 0; i < 4; i++)
            l_886[i] = &g_152;
        for (i = 0; i < 2; i++)
            l_903[i] = 9L;
        if ((*p_42))
        { /* block id: 255 */
            int64_t *l_435[10][9] = {{&g_127,(void*)0,&g_127,&g_127,&g_127,&g_127,(void*)0,(void*)0,(void*)0},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,(void*)0,(void*)0,&g_127,&g_127,&g_127,&g_127,&g_127,(void*)0},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127},{(void*)0,&g_127,&g_127,&g_127,&g_127,&g_127,(void*)0,(void*)0,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127},{(void*)0,(void*)0,(void*)0,&g_127,&g_127,&g_127,&g_127,(void*)0,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127,&g_127}};
            int32_t l_452[5];
            int32_t l_499[8];
            int32_t l_509[5][9] = {{0L,0L,8L,(-6L),(-1L),(-6L),8L,0L,0L},{0x033C0C11L,0x61D5E690L,0x38D90144L,1L,0x38D90144L,0x61D5E690L,0x033C0C11L,0x033C0C11L,0x61D5E690L},{(-6L),0xD5B66A27L,8L,0xD5B66A27L,(-6L),0x5960D218L,0x5960D218L,(-6L),0xD5B66A27L},{0x033C0C11L,0x38D90144L,0x033C0C11L,6L,0x1AED713EL,0x1AED713EL,6L,0x033C0C11L,0x38D90144L},{0L,0x78411194L,0x5960D218L,8L,8L,0x5960D218L,0x78411194L,0L,0x78411194L}};
            union U0 *l_542 = (void*)0;
            uint8_t l_544 = 0UL;
            uint8_t * const *l_546[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
            int64_t l_568 = 0xAA018A7B43A2A8B3LL;
            int8_t l_586[10][4][1] = {{{0x01L},{(-1L)},{(-1L)},{0x01L}},{{(-1L)},{(-1L)},{0x01L},{(-1L)}},{{(-1L)},{0x01L},{(-1L)},{(-1L)}},{{0x01L},{(-1L)},{(-1L)},{0x01L}},{{(-1L)},{(-1L)},{0x01L},{(-1L)}},{{(-1L)},{0x01L},{(-1L)},{(-1L)}},{{0x01L},{(-1L)},{(-1L)},{0x01L}},{{(-1L)},{(-1L)},{0x01L},{(-1L)}},{{(-1L)},{0x01L},{(-1L)},{(-1L)}},{{0x01L},{(-1L)},{(-1L)},{0x01L}}};
            uint8_t l_616[3][5] = {{0x13L,0x13L,0x5BL,0x13L,0x13L},{4UL,0x13L,4UL,4UL,0x13L},{0x13L,4UL,4UL,0x13L,4UL}};
            int32_t l_633 = 4L;
            int32_t l_635 = 0x8AEC8962L;
            uint32_t l_637 = 0x3353D2BFL;
            int32_t l_687 = 3L;
            int16_t ***l_690 = &g_334;
            int i, j, k;
            for (i = 0; i < 5; i++)
                l_452[i] = (-1L);
            for (i = 0; i < 8; i++)
                l_499[i] = 0x93C56C5EL;
            if ((safe_add_func_uint64_t_u_u(g_281, (l_436 &= g_434))))
            { /* block id: 257 */
                uint32_t l_467 = 18446744073709551613UL;
                const int32_t *l_498[1][7][1] = {{{(void*)0},{&g_50},{(void*)0},{&g_50},{(void*)0},{&g_50},{(void*)0}}};
                int32_t l_500 = 0x2BE68212L;
                int8_t *l_518 = (void*)0;
                int8_t *l_519 = &l_355;
                uint32_t l_551 = 18446744073709551612UL;
                int32_t l_570 = 0L;
                int32_t l_573 = 0L;
                int32_t l_577 = (-7L);
                int32_t l_578 = 0x7111C898L;
                int32_t l_579 = (-1L);
                int32_t l_580 = 1L;
                int32_t l_581 = 1L;
                int32_t l_582 = 0x60416B39L;
                int32_t l_584[4][1][8] = {{{0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L}},{{0xD254C8DFL,0xD254C8DFL,0x7CD882F9L,0xD254C8DFL,0xD254C8DFL,0x7CD882F9L,0xD254C8DFL,0xD254C8DFL}},{{0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL}},{{0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L,0xFE29B2E1L,0xD254C8DFL,0xFE29B2E1L}}};
                int64_t l_597 = 0x3C42046FDC1E1DE9LL;
                uint64_t l_598 = 6UL;
                int i, j, k;
                for (g_50 = 1; (g_50 >= 0); g_50 -= 1)
                { /* block id: 260 */
                    int64_t **l_464 = (void*)0;
                    int8_t *l_466 = &g_164;
                    int i;
                    (*p_44) = (((((~(safe_mod_func_uint16_t_u_u(((~((safe_sub_func_uint16_t_u_u((safe_mul_func_int32_t_s_s((g_113[g_50] || (!(safe_mod_func_int32_t_s_s((((safe_div_func_uint16_t_u_u((safe_rshift_func_int8_t_s_s(((*l_466) |= (l_452[3] , ((safe_add_func_uint64_t_u_u((safe_lshift_func_int32_t_s_s(0x917285DCL, 13)), 0xA36C449B651B8144LL)) , (safe_div_func_uint16_t_u_u((((((safe_mul_func_int64_t_s_s((safe_add_func_uint32_t_u_u((g_56 > (*p_44)), p_43)), g_123)) <= ((g_465 = l_463) == (void*)0)) >= 0x78CAL) , p_43) , 0x6831L), 0xCB61L))))), 5)), (-8L))) , g_113[g_50]) & (*p_44)), l_436)))), g_431)), l_467)) ^ p_43)) || 5L), l_436))) > g_111[0]) , (void*)0) == &g_189) | p_43);
                    for (l_436 = 1; (l_436 <= 4); l_436 += 1)
                    { /* block id: 266 */
                        int16_t *l_489[2][5];
                        int i, j;
                        for (i = 0; i < 2; i++)
                        {
                            for (j = 0; j < 5; j++)
                                l_489[i][j] = &g_490;
                        }
                        (*g_501) = func_45((safe_lshift_func_uint8_t_u_u(((!(safe_rshift_func_int8_t_s_s((-9L), l_452[(g_50 + 1)]))) && ((safe_div_func_int64_t_s_s((((safe_sub_func_int8_t_s_s((safe_rshift_func_uint64_t_u_u((((safe_div_func_uint8_t_u_u((safe_lshift_func_int32_t_s_s(0x88BEC4CCL, ((l_500 &= ((((safe_sub_func_int32_t_s_s((g_111[0] >= ((safe_mul_func_uint64_t_u_u((safe_div_func_uint64_t_u_u(((l_491 = (-1L)) || (safe_rshift_func_uint8_t_u_s((g_494 == (void*)0), 3))), (safe_div_func_uint16_t_u_u(((p_43 , l_498[0][3][0]) != &l_452[(g_50 + 1)]), g_113[g_50])))), 1L)) < 1L)), 4294967295UL)) <= l_499[0]) , &g_356) != (void*)0)) != 4UL))), p_43)) & (*g_189)) || p_43), 19)), g_293)) , (*p_44)) & (**g_356)), l_452[3])) != 0xA5CEL)), 4)), p_44, &l_452[4]);
                    }
                    for (l_436 = 1; (l_436 >= 0); l_436 -= 1)
                    { /* block id: 273 */
                        l_499[2] = ((*p_44) &= (*p_42));
                        (*p_44) |= (-5L);
                        l_503 |= ((*p_44) = (l_502 <= ((void*)0 == l_463)));
                        ++g_504[6][1][2];
                    }
                }
                if (((*p_44) = (g_507 , (((g_389 |= ((g_508 , ((l_436 |= l_509[3][4]) > ((l_510 ^ (((-1L) >= ((((safe_mod_func_uint64_t_u_u(((safe_rshift_func_uint32_t_u_s((((*l_519) = (~l_510)) < (safe_rshift_func_uint32_t_u_s(((p_43 || (p_43 > 0xB061CAD5D3777B2ALL)) & g_367.f0), 29))), (*p_42))) ^ p_43), p_43)) , l_510) > p_43) != l_510)) , 0xF5L)) != p_43))) == 0xBE61E8B4L)) <= g_127) ^ 0UL))))
                { /* block id: 286 */
                    int64_t l_524 = 0x2DF7E1F3F5BC72F3LL;
                    int32_t l_525 = 0x1B21DE09L;
                    --l_526;
                }
                else
                { /* block id: 288 */
                    uint32_t *l_543 = &g_250;
                    int16_t *l_545 = &g_490;
                    p_44 = (*g_501);
                    (*p_44) = (safe_mul_func_int16_t_s_s(((*l_545) = (((((*l_543) &= (l_452[3] != (safe_mul_func_int8_t_s_s(((*g_153) <= ((safe_rshift_func_uint16_t_u_u((((safe_add_func_int16_t_s_s(0x251CL, 0xFD4EL)) == ((safe_rshift_func_uint8_t_u_s((p_43 ^ (safe_mul_func_int8_t_s_s((l_509[3][6] ^= ((*l_519) = (7L < ((void*)0 != l_542)))), l_499[0]))), p_43)) , 0xCEF3B74BL)) | 18446744073709551614UL), 7)) || l_509[4][4])), 3UL)))) | (*g_189)) > l_544) & p_43)), p_43));
                }
                if (((void*)0 != l_546[2]))
                { /* block id: 296 */
                    int64_t l_552 = 0xB9E4ED3A980C784BLL;
                    int32_t *l_563 = &g_50;
                    int32_t l_569 = (-1L);
                    int32_t l_572 = 1L;
                    int32_t l_574 = 0xB3711F95L;
                    int32_t l_575[2][10] = {{0x0EA5E1DFL,0x0EA5E1DFL,(-1L),0x0EA5E1DFL,0x0EA5E1DFL,(-1L),0x0EA5E1DFL,0x0EA5E1DFL,(-1L),0x0EA5E1DFL},{0x0EA5E1DFL,1L,1L,0x0EA5E1DFL,1L,1L,0x0EA5E1DFL,1L,1L,0x0EA5E1DFL}};
                    int i, j;
                    if (g_547[2][0])
                    { /* block id: 297 */
                        int32_t **l_560 = &l_371[2][5][0];
                        int32_t ***l_559 = &l_560;
                        int32_t l_571 = 0xB9D657F7L;
                        int32_t l_576[9][4][7] = {{{0x1CA403D0L,0x6EE38C8EL,0x9B939A58L,0x79FA9AB7L,0x9B939A58L,0x6EE38C8EL,0x1CA403D0L},{8L,0xD9E0E2E3L,(-5L),0xD9E0E2E3L,8L,8L,0xD9E0E2E3L},{0x305EB6B4L,0x7BDC2AC1L,0x305EB6B4L,0L,0x9B939A58L,8L,0L},{0xD9E0E2E3L,0x5F987745L,(-5L),(-5L),0x5F987745L,0xD9E0E2E3L,0x5F987745L}},{{0x305EB6B4L,0L,0x9B939A58L,8L,0L,8L,0x9B939A58L},{8L,8L,0xD9E0E2E3L,(-5L),0xD9E0E2E3L,8L,8L},{0x1CA403D0L,0L,0x4CE7C389L,0L,0x1CA403D0L,0x6EE38C8EL,0x9B939A58L},{(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L,(-1L),0x5F987745L}},{{0x9B939A58L,0x7BDC2AC1L,0x4CE7C389L,0x79FA9AB7L,0L,0L,0L},{(-1L),0xD9E0E2E3L,0xD9E0E2E3L,(-1L),0x5F987745L,(-5L),(-1L)},{0x9B939A58L,0L,0x305EB6B4L,0x7BDC2AC1L,0x305EB6B4L,0L,0x9B939A58L},{0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L,(-1L)}},{{0x4CE7C389L,0x6EE38C8EL,0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L},{(-1L),8L,0x5F987745L,0x5F987745L,8L,(-1L),8L},{0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L,0x79FA9AB7L,0x305EB6B4L},{0xD9E0E2E3L,0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L}},{{0x9B939A58L,8L,0L,8L,0x9B939A58L,0L,0x305EB6B4L},{(-5L),8L,(-5L),(-1L),(-1L),(-5L),8L},{0x305EB6B4L,0x6EE38C8EL,0L,0x7BDC2AC1L,0x1CA403D0L,8L,0x1CA403D0L},{(-5L),(-1L),(-1L),(-5L),8L,(-5L),(-1L)}},{{0x9B939A58L,0L,0x305EB6B4L,0x7BDC2AC1L,0x305EB6B4L,0L,0x9B939A58L},{0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L,(-1L)},{0x4CE7C389L,0x6EE38C8EL,0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L},{(-1L),8L,0x5F987745L,0x5F987745L,8L,(-1L),8L}},{{0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L,0x79FA9AB7L,0x305EB6B4L},{0xD9E0E2E3L,0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L},{0x9B939A58L,8L,0L,8L,0x9B939A58L,0L,0x305EB6B4L},{(-5L),8L,(-5L),(-1L),(-1L),(-5L),8L}},{{0x305EB6B4L,0x6EE38C8EL,0L,0x7BDC2AC1L,0x1CA403D0L,8L,0x1CA403D0L},{(-5L),(-1L),(-1L),(-5L),8L,(-5L),(-1L)},{0x9B939A58L,0L,0x305EB6B4L,0x7BDC2AC1L,0x305EB6B4L,0L,0x9B939A58L},{0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L,(-1L)}},{{0x4CE7C389L,0x6EE38C8EL,0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L},{(-1L),8L,0x5F987745L,0x5F987745L,8L,(-1L),8L},{0x4CE7C389L,8L,0x305EB6B4L,0x79FA9AB7L,0x1CA403D0L,0x79FA9AB7L,0x305EB6B4L},{0xD9E0E2E3L,0xD9E0E2E3L,(-1L),0x5F987745L,(-1L),0xD9E0E2E3L,0xD9E0E2E3L}}};
                        int8_t l_592 = 0x48L;
                        int i, j, k;
                        (*g_548) = p_42;
                        (*p_42) ^= (((safe_sub_func_uint8_t_u_u(l_551, l_552)) | (safe_rshift_func_int64_t_s_u(p_43, 17))) || (safe_mul_func_int64_t_s_s((((*g_153) |= (safe_lshift_func_uint16_t_u_u(0xD425L, 3))) , (&p_44 != (g_561 = ((*l_559) = &p_42)))), (((l_562 = (*g_356)) != (g_564 = l_563)) < (!((((((safe_div_func_int16_t_s_s((0xC43B1C083A121046LL || p_43), 0xE2C1L)) & l_568) || p_43) , 7UL) , (void*)0) != &g_261))))));
                        ++l_598;
                        l_509[3][4] ^= (((safe_unary_minus_func_uint64_t_u((safe_div_func_int8_t_s_s((((((safe_unary_minus_func_int16_t_s(((((*g_153) = p_43) , p_43) , (((((((void*)0 != l_605) || ((safe_lshift_func_int16_t_s_s((l_608 == (void*)0), 9)) & (-9L))) && ((((*p_42) ^ (safe_add_func_uint32_t_u_u(0x40013B05L, (-2L)))) || p_43) <= 1UL)) & 0x99L) , 8UL) , (*l_563))))) , (void*)0) == (void*)0) | 0xD4L) == 0x6DL), 0xABL)))) == l_544) && g_364[1].f0);
                    }
                    else
                    { /* block id: 308 */
                        (*g_561) = (p_43 , (*g_561));
                    }
                    for (g_389 = (-21); (g_389 > 34); g_389++)
                    { /* block id: 313 */
                        uint16_t l_613 = 4UL;
                        union U0 *l_622[5][2] = {{&g_364[1],&g_364[0]},{&g_364[0],&g_364[1]},{&g_364[0],&g_364[0]},{&g_364[1],&g_364[1]},{&g_364[1],&g_294[4]}};
                        int i, j;
                        --l_613;
                        --l_616[0][3];
                        (*g_623) = ((((p_43 , (l_581 = (&g_334 != l_619))) ^ 0xE9L) || (--(*g_153))) , l_622[2][0]);
                    }
                }
                else
                { /* block id: 320 */
                    int32_t l_630 = 0xA5BC6B83L;
                    int32_t l_631 = 1L;
                    int32_t l_634 = 0x61479C01L;
                    int32_t l_636[8][5][1] = {{{0xE189F12AL},{0L},{(-7L)},{0L},{0xE189F12AL}},{{(-1L)},{0xE189F12AL},{0L},{(-7L)},{0L}},{{0xE189F12AL},{(-1L)},{0xE189F12AL},{0L},{(-7L)}},{{0L},{0xE189F12AL},{(-1L)},{0xE189F12AL},{0L}},{{(-7L)},{0L},{0xE189F12AL},{(-1L)},{0xE189F12AL}},{{0L},{(-7L)},{0L},{0xE189F12AL},{(-1L)}},{{0xE189F12AL},{0L},{(-7L)},{0L},{0xE189F12AL}},{{(-1L)},{0xE189F12AL},{0L},{(-7L)},{0L}}};
                    int i, j, k;
                    for (l_355 = 0; (l_355 <= 0); l_355 += 1)
                    { /* block id: 323 */
                        int64_t *l_627 = (void*)0;
                        int64_t **l_628 = &g_465;
                        int32_t l_629[7][5] = {{(-10L),(-4L),(-4L),(-10L),(-4L)},{(-3L),(-3L),1L,(-3L),(-3L)},{(-4L),(-10L),(-4L),(-4L),(-10L)},{(-3L),0xC47FB373L,0xC47FB373L,(-3L),0xC47FB373L},{(-10L),(-10L),0x64A2DB07L,(-10L),(-10L)},{0xC47FB373L,(-3L),0xC47FB373L,0xC47FB373L,(-3L)},{(-10L),(-4L),(-4L),(-10L),(-4L)}};
                        int16_t *l_650 = &g_490;
                        uint32_t *l_663 = &g_261;
                        int i, j;
                        (**g_561) = (safe_lshift_func_uint32_t_u_u((((*l_628) = l_627) == &l_597), g_246));
                        --l_637;
                        (*p_42) = ((+((safe_lshift_func_uint32_t_u_u((((((*l_605) = l_586[2][1][0]) , l_463) != (g_465 = &g_127)) ^ l_636[5][4][0]), (safe_sub_func_uint8_t_u_u(l_645, (safe_mod_func_uint64_t_u_u((safe_mod_func_int32_t_s_s((((*l_650) |= p_43) | (((*l_663) = (safe_mul_func_uint16_t_u_u(((safe_rshift_func_int16_t_s_u((safe_div_func_int64_t_s_s((safe_lshift_func_int16_t_s_s((safe_lshift_func_uint64_t_u_u(p_43, 50)), 5)), (safe_rshift_func_int64_t_s_u(((g_389 = p_43) < (((p_43 & 0xDCL) , p_43) == (-1L))), 62)))), 3)) || p_43), p_43))) > 0x2C2E5D45L)), g_111[0])), g_431)))))) != g_434)) ^ 1L);
                    }
                }
            }
            else
            { /* block id: 335 */
                int16_t ****l_669 = &l_619;
                int8_t *l_686 = (void*)0;
                uint64_t **l_689 = &l_688;
                int32_t l_703 = 0L;
                uint64_t *l_710 = &g_129;
                int32_t l_720 = 0xD38443E7L;
                const uint32_t **l_751 = (void*)0;
                const uint32_t *l_752[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_752[i] = &g_753;
lbl_754:
                (**g_501) = (((void*)0 != l_664) | ((safe_add_func_int16_t_s_s((g_212 != (safe_mod_func_uint8_t_u_u((((*l_669) = &g_334) == (g_671 = l_670[2][1][0])), (((safe_add_func_int32_t_s_s(((*g_564) = (safe_mul_func_int64_t_s_s((+(((((((void*)0 != l_435[0][3]) || (((*l_689) = ((safe_sub_func_int16_t_s_s(((((g_389++) ^ (safe_rshift_func_uint8_t_u_u(((g_123 = (safe_div_func_int32_t_s_s((g_123 <= (~((p_43 && (*g_564)) ^ 0x8BL))), 4294967295UL))) , l_687), g_233))) == p_43) >= 9L), p_43)) , l_688)) == (void*)0)) == (-1L)) && 1L) , l_568) != 0x8BC6336FL)), 0xEF96D108A993E351LL))), 4294967288UL)) >= 0x7761FA47L) , p_43)))), p_43)) >= (-1L)));
                (*g_564) &= ((*g_189) = ((((*g_153) = 1UL) <= (&g_180 != (l_690 = l_690))) | (safe_sub_func_uint8_t_u_u(((safe_add_func_uint64_t_u_u((safe_div_func_uint64_t_u_u((g_431 = (safe_div_func_int32_t_s_s((safe_mod_func_uint32_t_u_u(((safe_mul_func_int8_t_s_s((((l_703 = p_43) == (safe_div_func_uint16_t_u_u((((g_26 & (safe_rshift_func_uint64_t_u_s(((*l_710) = ((*l_688) = (safe_rshift_func_int32_t_s_s((*p_44), 0)))), ((0x0C59L | (g_490 = ((((safe_add_func_int8_t_s_s((p_43 >= ((((((safe_lshift_func_uint32_t_u_u((safe_mod_func_int64_t_s_s(((safe_rshift_func_uint32_t_u_u((l_509[0][2] >= 0x2601L), 30)) ^ 0UL), l_719)), p_43)) >= 65526UL) == 0xF8B464C8L) == g_182) <= l_720) == p_43)), l_616[0][3])) >= g_293) || p_43) >= p_43))) , p_43)))) , g_315) <= p_43), l_586[4][1][0]))) && (**g_501)), p_43)) , 0UL), l_720)), (-1L)))), 0x29EB14DF7A7CD978LL)), g_50)) | l_452[3]), g_63))));
                for (g_50 = 0; (g_50 <= 2); g_50 += 1)
                { /* block id: 354 */
                    uint8_t **l_734 = &l_413;
                    int16_t *****l_738[3][2] = {{&l_669,&l_669},{&l_669,&l_669},{&l_669,&l_669}};
                    int32_t l_740 = 0x24103BD1L;
                    int8_t *l_741 = (void*)0;
                    int8_t *l_742 = &l_502;
                    int i, j;
                    (*g_564) = (((*l_742) = (g_123 |= ((safe_sub_func_int32_t_s_s((((void*)0 == l_463) > (safe_mul_func_int8_t_s_s((safe_rshift_func_int32_t_s_s((safe_div_func_int64_t_s_s(((g_315 == (safe_mod_func_uint32_t_u_u((+((safe_mod_func_int8_t_s_s(((p_43 ^ ((**l_689) = (((((l_734 = l_608) == (void*)0) != (((((safe_lshift_func_int64_t_s_u(((((l_737 == (l_739 = (void*)0)) && ((g_494 == (void*)0) || 0xABDFL)) != (*g_564)) | g_367.f0), g_250)) < l_720) >= g_490) == 0x34C96F36L) , 0x72FA8F08475908D3LL)) | l_740) ^ 0xA9922B83331BF27FLL))) <= (*g_189)), 0xCBL)) <= 0xE5L)), 4294967294UL))) | 65533UL), p_43)), 17)), 4L))), (*p_44))) , 0L))) , l_616[0][3]);
                    for (l_587 = 2; (l_587 >= 0); l_587 -= 1)
                    { /* block id: 363 */
                        int i, j;
                        (*g_564) = (l_616[l_587][l_587] || g_129);
                    }
                }
                if (((**g_356) = ((safe_add_func_int16_t_s_s(1L, (safe_rshift_func_uint64_t_u_s(((*l_710) ^= ((*l_688) = ((p_43 < l_703) == g_504[6][1][2]))), l_720)))) | (((l_637 ^ p_43) >= (p_42 == (l_752[1] = func_45((((safe_mod_func_uint32_t_u_u(0xCAA91319L, g_50)) , p_43) >= p_43), (*g_561), &l_503)))) , g_65))))
                { /* block id: 371 */
                    if (g_431)
                        goto lbl_754;
                }
                else
                { /* block id: 373 */
                    uint16_t *l_773 = &g_367.f0;
                    uint32_t *l_774 = &g_261;
                    (*g_564) |= (0x7F1A176FL && (((safe_mod_func_uint8_t_u_u(g_113[0], (safe_mod_func_int16_t_s_s(((safe_lshift_func_uint32_t_u_u(g_113[0], 6)) , (((((((((*l_774) = (safe_mul_func_int32_t_s_s((safe_add_func_uint8_t_u_u((((void*)0 == &l_632) == (*p_42)), (p_43 < (g_212 && ((safe_rshift_func_uint16_t_u_u(((*g_153) = (++(*l_605))), ((*l_773) = ((safe_rshift_func_int16_t_s_u(((p_43 , 4L) | 1L), l_720)) < p_43)))) || p_43))))), p_43))) , 0xEBE7L) >= p_43) || p_43) < l_703) > 2L) & g_490) > 0x78L)), p_43)))) > l_635) != 0xC91034D35AB301CFLL));
                    (*g_561) = (*g_501);
                    return p_43;
                }
            }
            return p_43;
        }
        else
        { /* block id: 384 */
            int64_t l_775 = 0L;
            int32_t l_804 = (-1L);
            int32_t l_806[10] = {(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L)};
            uint64_t l_821 = 18446744073709551615UL;
            int8_t * const *l_829 = (void*)0;
            uint16_t l_836[9][8] = {{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L},{0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L,0x3566L}};
            int64_t *l_862 = &l_775;
            uint64_t * const *l_946 = (void*)0;
            int16_t *l_987[10][8] = {{&g_490,&l_491,&g_490,&l_491,&g_490,&l_491,&l_491,&g_490},{&l_491,(void*)0,&g_490,&l_491,&l_491,&g_490,&g_490,&l_491},{(void*)0,&l_491,&l_491,&l_491,(void*)0,&l_491,&g_490,&g_490},{&g_490,&l_491,&g_490,&l_491,(void*)0,&g_490,&g_490,&g_490},{&l_491,&l_491,&g_490,&l_491,&l_491,&l_491,(void*)0,(void*)0},{&g_490,&l_491,(void*)0,&l_491,&g_490,&l_491,&l_491,&l_491},{(void*)0,(void*)0,(void*)0,&g_490,&g_490,&g_490,(void*)0,&g_490},{&g_490,(void*)0,&g_490,(void*)0,&l_491,&g_490,&g_490,&g_490},{(void*)0,&l_491,&g_490,(void*)0,&l_491,(void*)0,(void*)0,&l_491},{&g_490,&l_491,&l_491,&g_490,(void*)0,&l_491,&g_490,(void*)0}};
            int16_t *l_988 = &g_490;
            int i, j;
            for (g_246 = 0; (g_246 <= 2); g_246 += 1)
            { /* block id: 387 */
                uint64_t l_795[6][3][9] = {{{18446744073709551615UL,18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL,0xE000901EAE450F44LL,18446744073709551615UL,18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL},{18446744073709551615UL,2UL,18446744073709551615UL,0x3E98E81550B52231LL,0xB4EDEA6476A306C2LL,0UL,0x30B4977631D86626LL,0UL,0xB4EDEA6476A306C2LL},{18446744073709551607UL,0xE000901EAE450F44LL,0xE000901EAE450F44LL,18446744073709551607UL,0x829A9CA9BF1D0900LL,18446744073709551607UL,0xE000901EAE450F44LL,0xE000901EAE450F44LL,18446744073709551607UL}},{{18446744073709551615UL,0x3E98E81550B52231LL,18446744073709551615UL,0x3E98E81550B52231LL,18446744073709551615UL,0UL,0xB4EDEA6476A306C2LL,0x5A3C076E69114DA3LL,0xB4EDEA6476A306C2LL},{0xE000901EAE450F44LL,0x829A9CA9BF1D0900LL,0x123E46FA7C71CE23LL,0x123E46FA7C71CE23LL,0x829A9CA9BF1D0900LL,0xE000901EAE450F44LL,0x829A9CA9BF1D0900LL,0x123E46FA7C71CE23LL,0x123E46FA7C71CE23LL},{18446744073709551615UL,0UL,0xB4EDEA6476A306C2LL,0x5A3C076E69114DA3LL,0xB4EDEA6476A306C2LL,0UL,18446744073709551615UL,0x3E98E81550B52231LL,18446744073709551615UL}},{{18446744073709551607UL,0x829A9CA9BF1D0900LL,18446744073709551607UL,0xE000901EAE450F44LL,0xE000901EAE450F44LL,18446744073709551607UL,0x829A9CA9BF1D0900LL,18446744073709551607UL,0xE000901EAE450F44LL},{18446744073709551615UL,0x3E98E81550B52231LL,0xB4EDEA6476A306C2LL,0UL,0x30B4977631D86626LL,0UL,0xB4EDEA6476A306C2LL,0x3E98E81550B52231LL,18446744073709551615UL},{18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL,0xE000901EAE450F44LL,18446744073709551615UL,18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL,0xE000901EAE450F44LL}},{{0xB4EDEA6476A306C2LL,2UL,18446744073709551615UL,0x5A3C076E69114DA3LL,0x30B4977631D86626LL,0x3E98E81550B52231LL,0x30B4977631D86626LL,0x5A3C076E69114DA3LL,18446744073709551615UL},{18446744073709551615UL,18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL,0xE000901EAE450F44LL,18446744073709551615UL,18446744073709551615UL,0xE000901EAE450F44LL,0x123E46FA7C71CE23LL},{18446744073709551615UL,2UL,18446744073709551615UL,0x3E98E81550B52231LL,0xB4EDEA6476A306C2LL,0UL,0x30B4977631D86626LL,0UL,0xB4EDEA6476A306C2LL}},{{18446744073709551607UL,0xE000901EAE450F44LL,0xE000901EAE450F44LL,18446744073709551607UL,0x829A9CA9BF1D0900LL,18446744073709551607UL,0xE000901EAE450F44LL,0xE000901EAE450F44LL,18446744073709551607UL},{18446744073709551615UL,0x3E98E81550B52231LL,18446744073709551615UL,0x3E98E81550B52231LL,18446744073709551615UL,0UL,0xB4EDEA6476A306C2LL,0x5A3C076E69114DA3LL,0xB4EDEA6476A306C2LL},{0xE000901EAE450F44LL,0x829A9CA9BF1D0900LL,0x123E46FA7C71CE23LL,0x123E46FA7C71CE23LL,0x829A9CA9BF1D0900LL,0xE000901EAE450F44LL,0x829A9CA9BF1D0900LL,0x123E46FA7C71CE23LL,0x123E46FA7C71CE23LL}},{{0xB4EDEA6476A306C2LL,0x3E98E81550B52231LL,18446744073709551615UL,2UL,18446744073709551615UL,0x3E98E81550B52231LL,0xB4EDEA6476A306C2LL,0UL,0x30B4977631D86626LL},{0x123E46FA7C71CE23LL,18446744073709551615UL,0x123E46FA7C71CE23LL,18446744073709551607UL,18446744073709551607UL,0x123E46FA7C71CE23LL,18446744073709551615UL,0x123E46FA7C71CE23LL,18446744073709551607UL},{18446744073709551615UL,0UL,18446744073709551615UL,0x5A3C076E69114DA3LL,18446744073709551615UL,0x5A3C076E69114DA3LL,18446744073709551615UL,0UL,18446744073709551615UL}}};
                int16_t **** const l_802 = &l_670[2][1][0];
                uint16_t l_837 = 0xF370L;
                int32_t l_872 = 0x63C22139L;
                int16_t *l_894 = &l_491;
                int32_t l_896 = 0L;
                int32_t l_897[9] = {0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL,0x507C12CBL};
                int32_t l_904[7][3][1] = {{{0x19675AB5L},{0L},{0xC1D54585L}},{{0L},{0x19675AB5L},{0L}},{{0xC1D54585L},{0L},{0x19675AB5L}},{{0L},{0xC1D54585L},{0L}},{{0x19675AB5L},{0L},{0xC1D54585L}},{{0L},{0x19675AB5L},{0L}},{{0xC1D54585L},{0L},{0x19675AB5L}}};
                int32_t l_912 = 0xCD2DCA19L;
                int64_t l_920 = 0L;
                int32_t *l_990 = (void*)0;
                int i, j, k;
                for (g_56 = 2; (g_56 >= 0); g_56 -= 1)
                { /* block id: 390 */
                    int64_t l_786 = 0L;
                    int32_t l_816 = 0xA024175FL;
                    if (l_775)
                    { /* block id: 391 */
                        return p_43;
                    }
                    else
                    { /* block id: 393 */
                        int8_t *l_789 = &l_355;
                        int8_t *l_790 = (void*)0;
                        int8_t *l_791 = &l_502;
                        uint32_t *l_803 = &g_281;
                        int32_t l_805 = 1L;
                        int i;
                        (*g_189) |= ((((*l_664) = p_43) || 0UL) != (((*l_791) = ((*l_789) = ((l_775 ^ (safe_mul_func_uint32_t_u_u(p_43, (safe_rshift_func_int32_t_s_s((safe_rshift_func_int64_t_s_u((safe_sub_func_uint8_t_u_u(l_786, (&l_775 != (((0UL != p_43) != (safe_rshift_func_uint16_t_u_s(0x88C2L, 2))) , &l_645)))), g_753)), (*g_55)))))) , p_43))) < g_753));
                        l_806[7] |= (((safe_mod_func_int32_t_s_s(((*g_564) |= ((*p_42) = (~l_775))), l_786)) && l_795[5][2][8]) , (safe_mul_func_uint16_t_u_u(((void*)0 != g_624[g_246]), (((((l_804 = ((((safe_rshift_func_int64_t_s_s(((safe_lshift_func_uint8_t_u_u((l_802 != (((*l_803) = (((l_795[5][2][8] > p_43) && (0UL | (*p_42))) , l_775)) , &g_671)), g_113[0])) != 0xF81B853DL), l_775)) && 0xA7FAL) < p_43) >= g_164)) ^ l_805) < (-1L)) || p_43) > p_43))));
                    }
                    if ((*p_42))
                        continue;
                    if ((*g_55))
                        break;
                    for (g_367.f0 = 0; (g_367.f0 <= 2); g_367.f0 += 1)
                    { /* block id: 408 */
                        const uint64_t *l_815 = &g_129;
                        const uint64_t **l_814 = &l_815;
                        int64_t *l_830[5][1] = {{&g_127},{(void*)0},{&g_127},{(void*)0},{&g_127}};
                        int32_t l_831 = 0L;
                        uint32_t *l_838 = &g_250;
                        union U0 **l_847 = &g_624[0];
                        int64_t **l_860 = &l_830[4][0];
                        int64_t **l_861 = &l_463;
                        int i, j;
                        (*g_564) = ((safe_div_func_int16_t_s_s(((!(((**g_501) = (3UL ^ p_43)) & l_786)) && (safe_sub_func_uint64_t_u_u(0x56AD109B7C622129LL, (&p_42 == (void*)0)))), (safe_sub_func_uint8_t_u_u((l_816 = (l_814 == (void*)0)), p_43)))) && l_816);
                        (*g_564) |= (((safe_div_func_uint8_t_u_u(((((*l_838) = (g_434 = ((safe_mul_func_int16_t_s_s(l_821, ((*l_664) = ((safe_unary_minus_func_int32_t_s(((*g_189) &= ((safe_mod_func_uint64_t_u_u(((l_816 , (l_831 = ((p_43 , l_827) == l_829))) || (safe_add_func_int16_t_s_s(p_43, ((safe_rshift_func_uint64_t_u_u(0UL, 50)) == (((0x37L != (-1L)) >= l_836[6][5]) , 254UL))))), p_43)) & l_837)))) == 0UL)))) == p_43))) >= l_836[6][5]) , p_43), p_43)) >= p_43) > 3UL);
                        (*p_42) = ((safe_rshift_func_int8_t_s_s((((((safe_sub_func_int32_t_s_s((l_795[5][2][8] , ((safe_mul_func_uint8_t_u_u((safe_lshift_func_int32_t_s_s((l_831 <= (((*l_847) = (*g_623)) != g_848)), ((*g_564) = (((safe_lshift_func_int64_t_s_u(p_43, 13)) || 1UL) && ((l_816 , ((safe_div_func_uint64_t_u_u(((*l_688) &= (((((l_853 == ((((safe_lshift_func_uint64_t_u_s((safe_div_func_int32_t_s_s((safe_lshift_func_int8_t_s_u((((*l_861) = ((*l_860) = &l_775)) == (void*)0), 7)), p_43)), 17)) , (void*)0) != (void*)0) < 0x4D05D597791D29C4LL)) < l_836[4][2]) | 1L) && g_150) == (-5L))), 0xD2A81A870382342DLL)) ^ p_43)) > 0L))))), p_43)) != l_831)), (*p_42))) < 0xEDL) || 0x8D2B3A6AL) > 0UL) || l_837), 5)) <= p_43);
                    }
                }
                for (l_591 = 0; (l_591 <= 2); l_591 += 1)
                { /* block id: 428 */
                    uint16_t l_871 = 0xC7AFL;
                    int16_t *l_893 = (void*)0;
                    int32_t l_898 = 0x13A05D6EL;
                    int32_t l_899 = 0L;
                    int32_t l_900 = (-10L);
                    int32_t l_901 = (-1L);
                    int32_t l_905 = 0xF6C7D51FL;
                    int32_t l_907 = (-5L);
                    int32_t l_908 = 0xDC19B1C2L;
                    int32_t l_909 = (-3L);
                    int32_t l_914 = 0x89DA9861L;
                    int32_t l_916[10][1][2] = {{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}},{{1L,(-1L)}}};
                    int32_t l_970 = (-1L);
                    int i, j, k;
                    if ((((l_862 != &g_127) > ((safe_sub_func_int16_t_s_s(((*g_153) , 0xDEFCL), (safe_lshift_func_int64_t_s_s(p_43, 59)))) && p_43)) != (((safe_rshift_func_uint16_t_u_s((safe_rshift_func_uint64_t_u_s((&l_821 != &g_129), g_547[0][1])), 8)) ^ l_871) ^ p_43)))
                    { /* block id: 429 */
                        uint16_t l_873 = 65526UL;
                        int16_t ****l_890 = &l_670[2][1][0];
                        const uint16_t l_891 = 0x3B0FL;
                        int32_t l_892 = 0L;
                        l_873--;
                        (*g_189) &= (safe_lshift_func_int8_t_s_u(((((((((l_892 = ((safe_div_func_uint8_t_u_u(((safe_add_func_int8_t_s_s(((((((1L < (safe_rshift_func_int64_t_s_s((0x29F7L & (safe_sub_func_uint8_t_u_u((((&l_664 == (g_887 = l_886[0])) <= ((g_888 == (void*)0) , (((p_43 , 0x6316L) ^ (l_890 == l_737)) == p_43))) >= l_891), 0xB7L))), 12))) >= g_753) & 0x9EDB35B804B755FBLL) , l_795[2][1][4]) , l_795[5][2][8]) < 0xE3BD91BF6F39C8BCLL), p_43)) > 1L), l_871)) != g_129)) >= p_43) != l_871) < p_43) < g_123) < 1UL) , l_893) != l_894), 1));
                        if (l_892)
                            break;
                        (*p_44) = (g_895 , (*p_44));
                    }
                    else
                    { /* block id: 436 */
                        int64_t l_902 = 0L;
                        int32_t l_906 = 1L;
                        int32_t l_910 = 0x024C22B7L;
                        int32_t l_911 = (-3L);
                        int32_t l_913 = 0x1338B03AL;
                        int32_t l_915[5];
                        int64_t ***l_927 = &l_926;
                        int i;
                        for (i = 0; i < 5; i++)
                            l_915[i] = 1L;
                        l_917++;
                        ++l_922;
                        (*p_42) = ((g_925 , &g_465) == ((*l_927) = l_926));
                    }
                    for (g_431 = 0; (g_431 <= 2); g_431 += 1)
                    { /* block id: 444 */
                        int8_t l_928 = 0xA1L;
                        if (l_928)
                            break;
                    }
                    (*g_189) = ((((safe_lshift_func_uint8_t_u_u((4L > (((safe_mul_func_uint32_t_u_u((safe_sub_func_int32_t_s_s(1L, ((void*)0 == &p_43))), 1L)) < ((0x23DD95C0L | (((p_43 <= (safe_mod_func_int32_t_s_s((safe_rshift_func_uint64_t_u_s((safe_add_func_int8_t_s_s((safe_rshift_func_int16_t_s_u(0xE0F1L, l_945)), 0x96L)), 26)), (*p_44)))) , &p_43) == (void*)0)) ^ g_547[2][0])) ^ 0xDBF2L)), 2)) & 0x4EB5L) , (void*)0) == l_946);
                    (*g_564) = 3L;
                    for (g_56 = 2; (g_56 >= 0); g_56 -= 1)
                    { /* block id: 451 */
                        uint64_t l_953 = 0xAD71E1881D5E7630LL;
                        int8_t *l_969 = &g_164;
                        uint64_t *l_971 = &g_129;
                        uint8_t l_972 = 2UL;
                        uint32_t *l_975 = &g_250;
                        int32_t **l_989[6][10] = {{&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0]},{&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0]},{&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0]},{&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0]},{&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0],&g_189,&l_371[2][5][0]},{&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0],&l_371[2][5][0]}};
                        uint8_t *l_991 = &g_389;
                        int i, j;
                        (*g_564) |= (safe_sub_func_int8_t_s_s(((safe_sub_func_uint64_t_u_u((0xDBL ^ (safe_div_func_int64_t_s_s((-8L), l_953))), ((*l_971) = ((safe_mul_func_uint32_t_u_u(p_43, ((safe_div_func_int16_t_s_s(((safe_mul_func_int16_t_s_s((((*l_688) = (safe_mod_func_int32_t_s_s((safe_add_func_int64_t_s_s((safe_sub_func_uint16_t_u_u((0x31L >= ((*l_969) = ((void*)0 != g_966[3][8][0]))), (1L != (0x3CC56C683082806DLL > 0xC43E8F390795DC40LL)))), g_294[0].f0)), 0x4211D58DL))) ^ 18446744073709551613UL), l_970)) != l_953), l_896)) || l_916[9][0][0]))) , g_65)))) >= l_837), l_972));
                        p_44 = func_45((safe_sub_func_uint32_t_u_u(((*l_975)++), (l_972 == (((safe_mod_func_uint32_t_u_u((safe_sub_func_int8_t_s_s((1L && (safe_sub_func_int64_t_s_s(((*l_862) &= g_164), (safe_unary_minus_func_uint8_t_u(((*l_991) = ((((*g_548) != (l_990 = func_45((*p_44), p_44, func_45((safe_rshift_func_uint32_t_u_u(4294967288UL, ((l_987[6][0] = &g_490) != l_988))), &l_588, &l_899)))) && 0x0C4CB1380C88E229LL) || p_43))))))), 0xBCL)), 0xAF74FAE9L)) == 0xB3DDB1780AC41721LL) >= (*p_44))))), &l_510, p_44);
                    }
                }
                for (g_281 = 0; (g_281 <= 0); g_281 += 1)
                { /* block id: 466 */
                    uint8_t l_992[2][9][1] = {{{0x64L},{250UL},{0x64L},{250UL},{0x64L},{250UL},{0x64L},{250UL},{0x64L}},{{250UL},{0x64L},{250UL},{0x64L},{250UL},{0x64L},{250UL},{0x64L},{250UL}}};
                    int32_t l_993 = 0xE46811F5L;
                    int i, j, k;
                    if (l_992[1][1][0])
                        break;
                    for (g_250 = 0; (g_250 <= 0); g_250 += 1)
                    { /* block id: 470 */
                        if ((*p_42))
                            break;
                        l_993 = (p_43 < 255UL);
                        return l_821;
                    }
                    for (g_367.f0 = 0; (g_367.f0 <= 0); g_367.f0 += 1)
                    { /* block id: 477 */
                        int32_t l_994 = 0xEACBEFF2L;
                        return l_994;
                    }
                }
                for (l_804 = 0; (l_804 <= 2); l_804 += 1)
                { /* block id: 483 */
                    return l_775;
                }
            }
            (*g_564) ^= (safe_mod_func_uint16_t_u_u((((safe_mul_func_uint8_t_u_u(p_43, ((&g_495[2][8][3] == ((safe_unary_minus_func_uint64_t_u(g_113[0])) , &l_828)) || ((l_1000 = &l_917) != l_562)))) || (safe_add_func_uint32_t_u_u((safe_unary_minus_func_int16_t_s(((~g_968) ^ (((safe_add_func_uint16_t_u_u((p_43 | (((0x428D11F3BF989790LL && 0x8F8633B263DB01D7LL) <= (*p_44)) >= g_113[0])), p_43)) && p_43) == 1L)))), 1UL))) | p_43), (*g_153)));
        }
    }
    (*g_564) &= (safe_mod_func_uint32_t_u_u(((((((((safe_rshift_func_int8_t_s_u((safe_mod_func_uint16_t_u_u(((g_434 < (safe_add_func_int64_t_s_s(((*g_153) && 65534UL), (255UL > p_43)))) ^ (((safe_mul_func_uint16_t_u_u((safe_lshift_func_int16_t_s_s(((g_123 < ((*l_1023) = (safe_mul_func_uint8_t_u_u(0x54L, (((*l_1000) = (safe_sub_func_uint64_t_u_u(g_63, 0xA1321D2AAC3F841ALL))) || 0UL))))) > 4294967290UL), p_43)), p_43)) > (*p_44)) && p_43)), p_43)), 2)) & p_43) > g_507.f0) && p_43) < p_43) == p_43) && 6UL) , 0xC6FD304DL), (*p_42)));
    return p_43;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t * func_45(int32_t  p_46, int32_t * p_47, int32_t * p_48)
{ /* block id: 2 */
    int32_t l_51[4][2] = {{0L,8L},{0L,8L},{0L,8L},{0L,8L}};
    const int32_t *l_64 = &g_65;
    int i, j;
    for (p_46 = 1; (p_46 >= 0); p_46 -= 1)
    { /* block id: 5 */
    }
    return &g_50;
}


/* ------------------------------------------ */
/* 
 * reads : g_71 g_63 g_57 g_50 g_56 g_55 g_26 g_113 g_127 g_123
 * writes: g_56 g_71 g_111 g_123 g_127 g_129
 */
static int32_t  func_58(uint32_t  p_59, uint16_t  p_60)
{ /* block id: 21 */
    int32_t l_72[4][10][2] = {{{0x2FBAA6DCL,(-1L)},{0L,0x95FB43C6L},{(-1L),9L},{1L,1L},{(-1L),1L},{1L,9L},{(-1L),0x95FB43C6L},{0L,(-1L)},{0x2FBAA6DCL,0xC7EEBEAAL},{9L,1L}},{{1L,0x11EE15D1L},{0xD26BC8B8L,0xB89D53C4L},{(-1L),7L},{(-1L),0x3FBD5CEDL},{1L,0xE3B5251BL},{1L,0xCDE22F50L},{0x6DD75471L,0x6DD75471L},{(-1L),1L},{(-1L),0x95FB43C6L},{0xCDE22F50L,0xF7A37477L}},{{(-1L),0xCDE22F50L},{0xB89D53C4L,0xD26BC8B8L},{0xB89D53C4L,0xCDE22F50L},{(-1L),0xF7A37477L},{0xCDE22F50L,0x95FB43C6L},{(-1L),1L},{(-1L),0x6DD75471L},{0x6DD75471L,0xCDE22F50L},{1L,0xE3B5251BL},{1L,0x3FBD5CEDL}},{{(-1L),7L},{(-1L),0xB89D53C4L},{0xD26BC8B8L,1L},{1L,0xF7A37477L},{7L,0x3FBD5CEDL},{1L,0xD3FD5B12L},{0xB89D53C4L,(-1L)},{0x6DD75471L,7L},{1L,0x95FB43C6L},{0xD3FD5B12L,0x95FB43C6L}}};
    int16_t l_121 = 1L;
    int32_t l_130 = 0xD929A3F8L;
    int32_t *l_142 = &l_72[3][8][0];
    int32_t l_143 = (-1L);
    uint32_t l_167 = 18446744073709551613UL;
    const int8_t * const l_173 = &g_164;
    volatile int16_t * volatile *l_183[8][10][3] = {{{&g_181[1][0],&g_181[2][0],&g_181[2][0]},{&g_181[0][2],&g_181[0][2],&g_181[4][0]},{&g_181[0][2],&g_181[1][0],&g_181[2][0]},{&g_181[0][2],&g_181[2][0],&g_181[1][0]},{&g_181[0][2],&g_181[0][2],&g_181[5][1]},{&g_181[1][0],(void*)0,&g_181[2][0]},{&g_181[2][0],&g_181[2][0],&g_181[3][0]},{&g_181[2][0],&g_181[3][0],&g_181[2][1]},{&g_181[5][1],&g_181[2][0],&g_181[3][0]},{(void*)0,&g_181[3][0],&g_181[2][0]}},{{&g_181[2][0],&g_181[3][2],&g_181[5][1]},{&g_181[2][0],&g_181[2][0],&g_181[1][0]},{&g_181[6][2],&g_181[3][1],&g_181[2][0]},{(void*)0,&g_181[3][1],&g_181[4][0]},{&g_181[2][0],&g_181[2][0],&g_181[2][0]},{(void*)0,&g_181[3][2],&g_181[3][1]},{&g_181[5][0],&g_181[3][0],&g_181[1][0]},{&g_181[2][0],&g_181[2][0],&g_181[6][2]},{&g_181[3][1],&g_181[3][0],&g_181[3][0]},{&g_181[2][0],&g_181[2][0],&g_181[2][0]}},{{&g_181[5][0],(void*)0,&g_181[3][0]},{(void*)0,&g_181[0][2],&g_181[0][2]},{&g_181[2][0],&g_181[2][0],&g_181[3][2]},{(void*)0,&g_181[1][0],&g_181[3][2]},{&g_181[6][2],&g_181[0][2],&g_181[0][2]},{&g_181[2][0],&g_181[2][0],&g_181[3][0]},{&g_181[2][0],(void*)0,&g_181[2][0]},{(void*)0,&g_181[5][0],&g_181[3][0]},{&g_181[5][1],&g_181[2][0],&g_181[6][2]},{&g_181[2][0],&g_181[5][0],&g_181[1][0]}},{{&g_181[2][0],(void*)0,&g_181[3][1]},{&g_181[1][0],&g_181[2][0],&g_181[2][0]},{&g_181[0][2],&g_181[0][2],&g_181[4][0]},{&g_181[0][2],&g_181[1][0],&g_181[2][0]},{&g_181[0][2],&g_181[2][0],&g_181[1][0]},{&g_181[0][2],&g_181[0][2],&g_181[5][1]},{&g_181[1][0],(void*)0,&g_181[2][0]},{&g_181[2][0],&g_181[2][0],&g_181[3][0]},{&g_181[2][0],&g_181[3][0],&g_181[2][1]},{&g_181[5][1],&g_181[2][0],&g_181[3][0]}},{{(void*)0,&g_181[3][0],&g_181[2][0]},{&g_181[2][0],&g_181[3][2],&g_181[5][1]},{&g_181[2][0],&g_181[2][0],&g_181[1][0]},{&g_181[6][2],&g_181[3][1],&g_181[2][0]},{(void*)0,&g_181[4][0],&g_181[3][2]},{(void*)0,&g_181[6][2],(void*)0},{&g_181[3][0],(void*)0,&g_181[4][0]},{&g_181[5][1],&g_181[0][2],&g_181[2][0]},{&g_181[5][0],&g_181[2][0],&g_181[0][2]},{&g_181[4][0],&g_181[2][0],&g_181[2][1]}},{{&g_181[5][0],&g_181[1][0],&g_181[5][2]},{&g_181[5][1],&g_181[2][0],&g_181[0][2]},{&g_181[3][0],&g_181[2][0],&g_181[2][0]},{(void*)0,&g_181[3][1],(void*)0},{&g_181[2][0],&g_181[2][0],(void*)0},{&g_181[0][2],&g_181[2][0],&g_181[2][0]},{&g_181[5][2],&g_181[5][0],&g_181[0][2]},{&g_181[6][2],&g_181[3][0],&g_181[5][2]},{&g_181[2][0],(void*)0,&g_181[2][1]},{&g_181[0][2],&g_181[3][0],&g_181[0][2]}},{{&g_181[3][1],(void*)0,&g_181[2][0]},{&g_181[2][0],&g_181[3][0],&g_181[4][0]},{&g_181[1][0],&g_181[5][0],(void*)0},{&g_181[2][0],&g_181[2][0],&g_181[3][2]},{&g_181[2][0],&g_181[2][0],&g_181[3][0]},{&g_181[2][0],&g_181[3][1],&g_181[1][0]},{&g_181[2][0],&g_181[2][0],&g_181[0][2]},{&g_181[1][0],&g_181[2][0],&g_181[6][2]},{&g_181[2][0],&g_181[1][0],&g_181[2][0]},{&g_181[3][1],&g_181[2][0],&g_181[2][0]}},{{&g_181[0][2],&g_181[2][0],&g_181[2][0]},{&g_181[2][0],&g_181[0][2],&g_181[6][2]},{&g_181[6][2],(void*)0,&g_181[0][2]},{&g_181[5][2],&g_181[6][2],&g_181[1][0]},{&g_181[0][2],&g_181[4][0],&g_181[3][0]},{&g_181[2][0],&g_181[4][0],&g_181[3][2]},{(void*)0,&g_181[6][2],(void*)0},{&g_181[3][0],(void*)0,&g_181[4][0]},{&g_181[5][1],&g_181[0][2],&g_181[2][0]},{&g_181[5][0],&g_181[2][0],&g_181[0][2]}}};
    union U0 *l_234 = (void*)0;
    uint16_t **l_313 = &g_153;
    int8_t l_324 = (-4L);
    uint32_t l_339 = 18446744073709551610UL;
    int i, j, k;
lbl_136:
    for (g_56 = 0; (g_56 >= 17); g_56 = safe_add_func_uint32_t_u_u(g_56, 1))
    { /* block id: 24 */
        int32_t *l_70 = &g_71;
        (*l_70) |= (safe_div_func_int64_t_s_s((&g_25[6][6] == (void*)0), 0x03003393D3B28C33LL));
        if (p_59)
            break;
    }
    for (p_59 = 0; (p_59 <= 1); p_59 += 1)
    { /* block id: 30 */
        int32_t l_79 = 1L;
        int32_t *l_87 = &g_50;
        int32_t **l_86[10][6] = {{&l_87,(void*)0,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,(void*)0,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,(void*)0,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87},{&l_87,&l_87,&l_87,&l_87,&l_87,&l_87}};
        int8_t *l_140 = &g_123;
        uint64_t *l_141 = &g_129;
        const uint16_t *l_151 = (void*)0;
        int64_t *l_154 = &g_127;
        uint64_t l_155 = 1UL;
        uint16_t *l_162 = &g_113[0];
        int8_t *l_163 = &g_164;
        uint8_t l_209 = 0x52L;
        int8_t l_220 = (-10L);
        int32_t *l_276 = &l_143;
        int i, j;
        for (g_56 = 1; (g_56 >= 0); g_56 -= 1)
        { /* block id: 33 */
            int32_t *l_83 = &g_26;
            int32_t **l_82 = &l_83;
            int32_t ***l_88 = &l_86[9][3];
            int32_t l_114[8][2] = {{4L,0xB641BAC1L},{0x8C401F3CL,0x8C401F3CL},{0x8C401F3CL,0xB641BAC1L},{4L,8L},{0xB641BAC1L,8L},{4L,0xB641BAC1L},{0x8C401F3CL,0x8C401F3CL},{0x8C401F3CL,0xB641BAC1L}};
            int i, j;
            if ((safe_lshift_func_uint16_t_u_u(((safe_mul_func_int8_t_s_s(g_63, (safe_add_func_int8_t_s_s((l_79 != (((g_71 & ((((safe_div_func_uint8_t_u_u(g_63, (((void*)0 == l_82) , 0xE9L))) < (((((safe_rshift_func_uint64_t_u_u((((*l_88) = l_86[3][1]) == ((0x41L <= 255UL) , (void*)0)), p_59)) > g_57) != p_59) == 0xF7L) ^ l_72[0][9][1])) >= 18446744073709551615UL) || p_60)) , &l_72[3][1][1]) == (void*)0)), g_50)))) , g_71), 2)))
            { /* block id: 35 */
                return p_59;
            }
            else
            { /* block id: 37 */
                uint32_t l_96 = 0UL;
                int32_t **l_99 = (void*)0;
                if (p_59)
                { /* block id: 38 */
                    uint32_t l_89 = 0x4AC20F12L;
                    int32_t *l_94 = &l_79;
                    int32_t l_95 = 0xBABBD54EL;
                    for (l_79 = 1; (l_79 >= 0); l_79 -= 1)
                    { /* block id: 41 */
                        int i, j, k;
                        l_72[g_56][g_56][g_56] = l_72[g_56][g_56][g_56];
                        l_89 = (*g_55);
                    }
                    for (g_71 = 0; (g_71 == 13); g_71 = safe_add_func_uint16_t_u_u(g_71, 3))
                    { /* block id: 47 */
                        return p_59;
                    }
                    for (l_79 = 0; (l_79 <= (-23)); l_79--)
                    { /* block id: 52 */
                        l_95 = (((void*)0 != l_94) < 0x22C044B2L);
                        return l_96;
                    }
                }
                else
                { /* block id: 56 */
                    int32_t * const *l_101 = (void*)0;
                    int32_t * const **l_100 = &l_101;
                    uint16_t *l_110 = &g_111[0];
                    uint16_t *l_112[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int8_t *l_122 = &g_123;
                    int64_t *l_124 = (void*)0;
                    int64_t *l_125 = (void*)0;
                    int64_t *l_126 = &g_127;
                    uint64_t *l_128 = &g_129;
                    int32_t *l_137[10] = {&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1],&l_114[3][1]};
                    int i;
                    l_72[2][4][1] |= p_60;
                    l_130 = (safe_mod_func_int8_t_s_s((l_99 != ((*l_100) = l_99)), (safe_lshift_func_uint16_t_u_u((((((*l_128) = ((((*l_126) &= (safe_sub_func_uint32_t_u_u((safe_div_func_uint32_t_u_u((safe_div_func_int8_t_s_s(((l_114[5][1] = ((*l_110) = p_59)) == ((+(((safe_lshift_func_int8_t_s_s(1L, 0)) ^ (*l_83)) >= (~p_59))) | ((0UL == l_121) == ((((*l_122) = ((l_72[3][2][1] ^= ((g_57 && g_50) , p_60)) | 0x384EL)) != 255UL) & (*l_83))))), p_60)), l_121)), g_113[0]))) && 18446744073709551607UL) < g_113[1])) != g_113[0]) || (*l_87)) ^ p_59), (*l_87)))));
                    if (p_60)
                    { /* block id: 66 */
                        l_72[1][4][0] = (~(+(*g_55)));
                    }
                    else
                    { /* block id: 68 */
                        int32_t l_135 = 1L;
                        l_135 ^= (safe_mod_func_uint8_t_u_u(g_113[0], g_123));
                        if (p_59)
                            break;
                        if (g_123)
                            goto lbl_136;
                    }
                    l_137[9] = ((*l_82) = &l_72[1][6][1]);
                }
            }
            l_114[5][0] = ((p_60 | (*g_55)) | ((void*)0 != l_140));
            return p_59;
        }
        l_143 = (((*l_141) = 18446744073709551613UL) | ((l_142 = &g_71) == (void*)0));
    }
    return p_59;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_26, "g_26", print_hash_value);
    transparent_crc(g_50, "g_50", print_hash_value);
    transparent_crc(g_56, "g_56", print_hash_value);
    transparent_crc(g_57, "g_57", print_hash_value);
    transparent_crc(g_63, "g_63", print_hash_value);
    transparent_crc(g_65, "g_65", print_hash_value);
    transparent_crc(g_71, "g_71", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_111[i], "g_111[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 2; i++)
    {
        transparent_crc(g_113[i], "g_113[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_123, "g_123", print_hash_value);
    transparent_crc(g_127, "g_127", print_hash_value);
    transparent_crc(g_129, "g_129", print_hash_value);
    transparent_crc(g_150, "g_150", print_hash_value);
    transparent_crc(g_164, "g_164", print_hash_value);
    transparent_crc(g_182, "g_182", print_hash_value);
    transparent_crc(g_212, "g_212", print_hash_value);
    transparent_crc(g_233, "g_233", print_hash_value);
    transparent_crc(g_245.f0, "g_245.f0", print_hash_value);
    transparent_crc(g_246, "g_246", print_hash_value);
    transparent_crc(g_250, "g_250", print_hash_value);
    transparent_crc(g_261, "g_261", print_hash_value);
    transparent_crc(g_281, "g_281", print_hash_value);
    transparent_crc(g_293, "g_293", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_294[i].f0, "g_294[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_315, "g_315", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_364[i].f0, "g_364[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_367.f0, "g_367.f0", print_hash_value);
    transparent_crc(g_389, "g_389", print_hash_value);
    transparent_crc(g_431, "g_431", print_hash_value);
    transparent_crc(g_434, "g_434", print_hash_value);
    transparent_crc(g_490, "g_490", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_504[i][j][k], "g_504[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_507.f0, "g_507.f0", print_hash_value);
    transparent_crc(g_508.f0, "g_508.f0", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_547[i][j], "g_547[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_753, "g_753", print_hash_value);
    transparent_crc(g_895.f0, "g_895.f0", print_hash_value);
    transparent_crc(g_925.f0, "g_925.f0", print_hash_value);
    transparent_crc(g_968, "g_968", print_hash_value);
    transparent_crc(g_1085.f0, "g_1085.f0", print_hash_value);
    transparent_crc(g_1130, "g_1130", print_hash_value);
    transparent_crc(g_1229, "g_1229", print_hash_value);
    transparent_crc(g_1238, "g_1238", print_hash_value);
    transparent_crc(g_1299.f0, "g_1299.f0", print_hash_value);
    transparent_crc(g_1451.f0, "g_1451.f0", print_hash_value);
    transparent_crc(g_1501, "g_1501", print_hash_value);
    transparent_crc(g_1676, "g_1676", print_hash_value);
    transparent_crc(g_1684, "g_1684", print_hash_value);
    transparent_crc(g_1774, "g_1774", print_hash_value);
    transparent_crc(g_1788.f0, "g_1788.f0", print_hash_value);
    transparent_crc(g_1810, "g_1810", print_hash_value);
    transparent_crc(g_1817.f0, "g_1817.f0", print_hash_value);
    transparent_crc(g_1936, "g_1936", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 6; k++)
            {
                transparent_crc(g_1985[i][j][k], "g_1985[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1995.f0, "g_1995.f0", print_hash_value);
    transparent_crc(g_1999.f0, "g_1999.f0", print_hash_value);
    transparent_crc(g_2014, "g_2014", print_hash_value);
    transparent_crc(g_2043, "g_2043", print_hash_value);
    transparent_crc(g_2080.f0, "g_2080.f0", print_hash_value);
    transparent_crc(g_2092, "g_2092", print_hash_value);
    transparent_crc(g_2126, "g_2126", print_hash_value);
    transparent_crc(g_2128, "g_2128", print_hash_value);
    transparent_crc(g_2209.f0, "g_2209.f0", print_hash_value);
    transparent_crc(g_2385, "g_2385", print_hash_value);
    transparent_crc(g_2388, "g_2388", print_hash_value);
    transparent_crc(g_2414, "g_2414", print_hash_value);
    transparent_crc(g_2424.f0, "g_2424.f0", print_hash_value);
    transparent_crc(g_2425.f0, "g_2425.f0", print_hash_value);
    transparent_crc(g_2426.f0, "g_2426.f0", print_hash_value);
    transparent_crc(g_2427.f0, "g_2427.f0", print_hash_value);
    transparent_crc(g_2431.f0, "g_2431.f0", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 633
XXX total union variables: 16

XXX non-zero bitfields defined in structs: 1
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 35
breakdown:
   indirect level: 0, occurrence: 16
   indirect level: 1, occurrence: 12
   indirect level: 2, occurrence: 6
   indirect level: 3, occurrence: 1
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 89
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 23
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0

XXX max expression depth: 48
breakdown:
   depth: 1, occurrence: 314
   depth: 2, occurrence: 81
   depth: 3, occurrence: 3
   depth: 4, occurrence: 12
   depth: 5, occurrence: 4
   depth: 6, occurrence: 1
   depth: 8, occurrence: 2
   depth: 9, occurrence: 2
   depth: 10, occurrence: 1
   depth: 11, occurrence: 1
   depth: 12, occurrence: 2
   depth: 13, occurrence: 4
   depth: 14, occurrence: 1
   depth: 15, occurrence: 1
   depth: 16, occurrence: 3
   depth: 17, occurrence: 1
   depth: 18, occurrence: 4
   depth: 19, occurrence: 7
   depth: 20, occurrence: 3
   depth: 22, occurrence: 1
   depth: 23, occurrence: 5
   depth: 24, occurrence: 4
   depth: 25, occurrence: 5
   depth: 26, occurrence: 6
   depth: 27, occurrence: 3
   depth: 28, occurrence: 2
   depth: 29, occurrence: 3
   depth: 31, occurrence: 4
   depth: 33, occurrence: 1
   depth: 34, occurrence: 3
   depth: 35, occurrence: 1
   depth: 36, occurrence: 2
   depth: 38, occurrence: 1
   depth: 39, occurrence: 1
   depth: 41, occurrence: 1
   depth: 45, occurrence: 1
   depth: 46, occurrence: 1
   depth: 48, occurrence: 1

XXX total number of pointers: 495

XXX times a variable address is taken: 1652
XXX times a pointer is dereferenced on RHS: 352
breakdown:
   depth: 1, occurrence: 263
   depth: 2, occurrence: 83
   depth: 3, occurrence: 5
   depth: 4, occurrence: 1
XXX times a pointer is dereferenced on LHS: 403
breakdown:
   depth: 1, occurrence: 369
   depth: 2, occurrence: 27
   depth: 3, occurrence: 1
   depth: 4, occurrence: 4
   depth: 5, occurrence: 2
XXX times a pointer is compared with null: 54
XXX times a pointer is compared with address of another variable: 16
XXX times a pointer is compared with another pointer: 18
XXX times a pointer is qualified to be dereferenced: 8451

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 1567
   level: 2, occurrence: 358
   level: 3, occurrence: 103
   level: 4, occurrence: 54
   level: 5, occurrence: 26
XXX number of pointers point to pointers: 232
XXX number of pointers point to scalars: 247
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 32.5
XXX average alias set size: 1.51

XXX times a non-volatile is read: 2031
XXX times a non-volatile is write: 1141
XXX times a volatile is read: 137
XXX    times read thru a pointer: 25
XXX times a volatile is write: 21
XXX    times written thru a pointer: 1
XXX times a volatile is available for access: 5.93e+03
XXX percentage of non-volatile access: 95.3

XXX forward jumps: 0
XXX backward jumps: 9

XXX stmts: 326
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 34
   depth: 1, occurrence: 25
   depth: 2, occurrence: 29
   depth: 3, occurrence: 40
   depth: 4, occurrence: 81
   depth: 5, occurrence: 117

XXX percentage a fresh-made variable is used: 16
XXX percentage an existing variable is used: 84
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

